feat: pumped SDK version to 4.0.0 #10
@ -7,7 +7,7 @@ Anthrove Plug SDK is a Golang-based Software Development Kit (SDK) that provides
|
||||
To install the Anthrove Plug SDK, you will need to have Go installed on your system. You can then use the go get command to fetch the SDK:
|
||||
|
||||
```bash
|
||||
go get git.anthrove.art/Anthrove/plug-sdk/v3
|
||||
go get git.anthrove.art/Anthrove/plug-sdk/v4
|
||||
```
|
||||
## Usage
|
||||
|
||||
|
4
go.mod
4
go.mod
@ -1,6 +1,6 @@
|
||||
module git.anthrove.art/Anthrove/plug-sdk/v3
|
||||
module git.anthrove.art/Anthrove/plug-sdk/v4
|
||||
|
||||
go 1.22.0
|
||||
go 1.23.0
|
||||
|
||||
require (
|
||||
git.anthrove.art/Anthrove/otter-space-sdk/v4 v4.1.1
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
|
||||
"git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/database"
|
||||
"git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models"
|
||||
gRPC "git.anthrove.art/Anthrove/plug-sdk/v3/pkg/grpc"
|
||||
gRPC "git.anthrove.art/Anthrove/plug-sdk/v4/pkg/grpc"
|
||||
gonanoid "github.com/matoous/go-nanoid/v2"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"go.opentelemetry.io/otel/attribute"
|
||||
|
@ -3,7 +3,7 @@ package plug
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.anthrove.art/Anthrove/plug-sdk/v3/pkg/telemetry"
|
||||
"git.anthrove.art/Anthrove/plug-sdk/v4/pkg/telemetry"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"go.opentelemetry.io/otel/codes"
|
||||
)
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"net"
|
||||
|
||||
"git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models"
|
||||
pb "git.anthrove.art/Anthrove/plug-sdk/v3/pkg/grpc"
|
||||
pb "git.anthrove.art/Anthrove/plug-sdk/v4/pkg/grpc"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
|
||||
"go.opentelemetry.io/otel"
|
||||
@ -15,7 +15,7 @@ import (
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
var tracer = otel.Tracer("git.anthrove.art/Anthrove/plug-sdk/v3/pkg/plug")
|
||||
var tracer = otel.Tracer("git.anthrove.art/Anthrove/plug-sdk/v4/pkg/plug")
|
||||
|
||||
type Message struct {
|
||||
Title string
|
||||
|
Loading…
Reference in New Issue
Block a user