fix(module): Update SDK import paths to use correct casing

This commit is contained in:
SoXX 2024-08-14 16:12:48 +02:00
parent 598b2e73bd
commit 8fa77e186b
4 changed files with 12 additions and 6 deletions

View File

@ -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{

10
go.mod
View File

@ -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

View File

@ -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"
)

View File

@ -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"
)