diff --git a/README.md b/README.md index faea668..f8401a4 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@ 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/v3 ``` ## Usage Below is a basic example of how to use the SDK: ````go -import "git.anthrove.art/Anthrove/plug-sdk/v3/pkg/plug" +import "git.anthrove.art/Anthrove/Plug-SDK/v3/pkg/plug" // Define what Source this Plug is used for source := models.Source{ diff --git a/go.mod b/go.mod index 8a733cd..dec5402 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.anthrove.art/Anthrove/plug-sdk/v3 +module git.anthrove.art/Anthrove/Plug-SDK/v3 go 1.22.0 @@ -12,15 +12,21 @@ require ( require ( github.com/go-gorp/gorp/v3 v3.1.0 // indirect + github.com/go-logr/logr v1.4.2 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jackc/pgx/v5 v5.5.5 // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/lib/pq v1.10.9 // indirect github.com/rubenv/sql-migrate v1.7.0 // indirect github.com/sirupsen/logrus v1.9.3 // indirect + go.opentelemetry.io/contrib/bridges/otellogrus v0.3.0 // indirect + go.opentelemetry.io/otel v1.28.0 // indirect + go.opentelemetry.io/otel/log v0.4.0 // indirect + go.opentelemetry.io/otel/metric v1.28.0 // indirect + go.opentelemetry.io/otel/trace v1.28.0 // indirect golang.org/x/crypto v0.22.0 // indirect golang.org/x/net v0.21.0 // indirect golang.org/x/sync v0.8.0 // indirect diff --git a/pkg/plug/grpc.go b/pkg/plug/grpc.go index 583139d..8e94655 100644 --- a/pkg/plug/grpc.go +++ b/pkg/plug/grpc.go @@ -7,7 +7,7 @@ import ( "git.anthrove.art/Anthrove/otter-space-sdk/v3/pkg/models" "google.golang.org/protobuf/types/known/timestamppb" - gRPC "git.anthrove.art/Anthrove/plug-sdk/v3/pkg/grpc" + gRPC "git.anthrove.art/Anthrove/Plug-SDK/v3/pkg/grpc" gonanoid "github.com/matoous/go-nanoid/v2" ) diff --git a/pkg/plug/server.go b/pkg/plug/server.go index ac1292d..4a943fc 100644 --- a/pkg/plug/server.go +++ b/pkg/plug/server.go @@ -12,7 +12,7 @@ import ( "github.com/golang/protobuf/ptypes/timestamp" - pb "git.anthrove.art/Anthrove/plug-sdk/v3/pkg/grpc" + pb "git.anthrove.art/Anthrove/Plug-SDK/v3/pkg/grpc" "google.golang.org/grpc" )