diff --git a/README.md b/README.md index 2df0826..1cda2a2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Build Check Runner](https://git.anthrove.art/Anthrove/otter-space-sdk/v4/actions/workflows/build_check.yaml/badge.svg) +![Build Check Runner](https://git.anthrove.art/Anthrove/otter-space-sdk/v5/actions/workflows/build_check.yaml/badge.svg) [![Bugs](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=bugs&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) [![Code Smells](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=code_smells&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) [![Coverage](https://sonarqube.dragse.de/api/project_badges/measure?project=Anthrove---OtterSpace-SDK&metric=coverage&token=sqb_96012ffdd64ce721d7f9c82bfa77aa27a5c1fd38)](https://sonarqube.dragse.de/dashboard?id=Anthrove---OtterSpace-SDK) @@ -22,7 +22,7 @@ The OtterSpace SDK is a Go package for interacting with the OtterSpace API. It p To install the OtterSpace SDK, you can use `go get`: ```shell -go get git.anthrove.art/Anthrove/otter-space-sdk/v4 +go get git.anthrove.art/Anthrove/otter-space-sdk/v5 ```` ## Usage @@ -34,8 +34,8 @@ package main import ( "context" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/database" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/database" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" ) func main() { diff --git a/go.mod b/go.mod index 58d28b3..209f89d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.anthrove.art/Anthrove/otter-space-sdk/v4 +module git.anthrove.art/Anthrove/otter-space-sdk/v5 go 1.22.0 diff --git a/pkg/database/client.go b/pkg/database/client.go index 7618372..caf1ad2 100644 --- a/pkg/database/client.go +++ b/pkg/database/client.go @@ -5,9 +5,9 @@ import ( "embed" "fmt" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" migrate "github.com/rubenv/sql-migrate" log "github.com/sirupsen/logrus" "go.opentelemetry.io/contrib/bridges/otellogrus" @@ -17,7 +17,7 @@ import ( "gorm.io/gorm" ) -const tracingName = "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/database" +const tracingName = "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/database" var ( //go:embed migrations/*.sql diff --git a/pkg/database/client_test.go b/pkg/database/client_test.go index c989c27..886dfa9 100644 --- a/pkg/database/client_test.go +++ b/pkg/database/client_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/favorite.go b/pkg/database/favorite.go index a15f8da..d50682a 100644 --- a/pkg/database/favorite.go +++ b/pkg/database/favorite.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/favorite_test.go b/pkg/database/favorite_test.go index 6d5efe7..dd47ddc 100644 --- a/pkg/database/favorite_test.go +++ b/pkg/database/favorite_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/pool.go b/pkg/database/pool.go index e525fae..d54b744 100644 --- a/pkg/database/pool.go +++ b/pkg/database/pool.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/pool_post.go b/pkg/database/pool_post.go index 80e2415..cb3fd54 100644 --- a/pkg/database/pool_post.go +++ b/pkg/database/pool_post.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/pool_post_test.go b/pkg/database/pool_post_test.go index 7b289c0..88bc209 100644 --- a/pkg/database/pool_post_test.go +++ b/pkg/database/pool_post_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/pkg/database/pool_reference.go b/pkg/database/pool_reference.go index eefbb36..471fbf5 100644 --- a/pkg/database/pool_reference.go +++ b/pkg/database/pool_reference.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/pool_reference_test.go b/pkg/database/pool_reference_test.go index 0987fa0..0a4529a 100644 --- a/pkg/database/pool_reference_test.go +++ b/pkg/database/pool_reference_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/pkg/database/pool_test.go b/pkg/database/pool_test.go index 344c874..f03bf7f 100644 --- a/pkg/database/pool_test.go +++ b/pkg/database/pool_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/post.go b/pkg/database/post.go index b857d81..9bee6c1 100644 --- a/pkg/database/post.go +++ b/pkg/database/post.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/post_report.go b/pkg/database/post_report.go index 33992ca..0ef8503 100644 --- a/pkg/database/post_report.go +++ b/pkg/database/post_report.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/post_report_test.go b/pkg/database/post_report_test.go index de0a5df..837bdc4 100644 --- a/pkg/database/post_report_test.go +++ b/pkg/database/post_report_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/post_test.go b/pkg/database/post_test.go index 13c0394..8b40364 100644 --- a/pkg/database/post_test.go +++ b/pkg/database/post_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/scopes.go b/pkg/database/scopes.go index 152038f..48f3d4f 100644 --- a/pkg/database/scopes.go +++ b/pkg/database/scopes.go @@ -3,7 +3,7 @@ package database import ( "math" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" "gorm.io/gorm" ) diff --git a/pkg/database/scopes_test.go b/pkg/database/scopes_test.go index 3a52b57..67e6849 100644 --- a/pkg/database/scopes_test.go +++ b/pkg/database/scopes_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/scrape_history.go b/pkg/database/scrape_history.go index 60dcae1..293884a 100644 --- a/pkg/database/scrape_history.go +++ b/pkg/database/scrape_history.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/scrape_history_test.go b/pkg/database/scrape_history_test.go index e96795e..07d5344 100644 --- a/pkg/database/scrape_history_test.go +++ b/pkg/database/scrape_history_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/source.go b/pkg/database/source.go index d565252..6e31fc0 100644 --- a/pkg/database/source.go +++ b/pkg/database/source.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/source_test.go b/pkg/database/source_test.go index bde458c..9e23757 100644 --- a/pkg/database/source_test.go +++ b/pkg/database/source_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/tag.go b/pkg/database/tag.go index 1c558e8..849a043 100644 --- a/pkg/database/tag.go +++ b/pkg/database/tag.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/tagAlias.go b/pkg/database/tagAlias.go index be89ad9..f69379a 100644 --- a/pkg/database/tagAlias.go +++ b/pkg/database/tagAlias.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/tagAlias_test.go b/pkg/database/tagAlias_test.go index 104d367..68e58fa 100644 --- a/pkg/database/tagAlias_test.go +++ b/pkg/database/tagAlias_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/pkg/database/tagGroup.go b/pkg/database/tagGroup.go index 4b7e13a..d8fa1aa 100644 --- a/pkg/database/tagGroup.go +++ b/pkg/database/tagGroup.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/tagGroup_test.go b/pkg/database/tagGroup_test.go index 9a77a92..3f75cf3 100644 --- a/pkg/database/tagGroup_test.go +++ b/pkg/database/tagGroup_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/pkg/database/tag_test.go b/pkg/database/tag_test.go index 395f554..be359a7 100644 --- a/pkg/database/tag_test.go +++ b/pkg/database/tag_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/pkg/database/user.go b/pkg/database/user.go index db8d82e..28364bb 100644 --- a/pkg/database/user.go +++ b/pkg/database/user.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/userSource.go b/pkg/database/userSource.go index 1afd13b..f7b1b90 100644 --- a/pkg/database/userSource.go +++ b/pkg/database/userSource.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/internal/utils" - otterError "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/error" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/internal/utils" + otterError "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/error" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" log "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/attribute" "gorm.io/gorm" diff --git a/pkg/database/userSource_test.go b/pkg/database/userSource_test.go index e0f9f30..2adf3f0 100644 --- a/pkg/database/userSource_test.go +++ b/pkg/database/userSource_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" "gorm.io/gorm" diff --git a/pkg/database/user_test.go b/pkg/database/user_test.go index 85fe814..08512fd 100644 --- a/pkg/database/user_test.go +++ b/pkg/database/user_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/test" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/test" "go.opentelemetry.io/contrib/bridges/otellogrus" "go.opentelemetry.io/otel" ) diff --git a/test/generator.go b/test/generator.go index d000f9d..e9c8667 100644 --- a/test/generator.go +++ b/test/generator.go @@ -5,7 +5,7 @@ import ( "math/rand" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" "github.com/davecgh/go-spew/spew" gonanoid "github.com/matoous/go-nanoid/v2" "gorm.io/gorm" diff --git a/test/helper.go b/test/helper.go index aa12b0e..1f3a5dc 100644 --- a/test/helper.go +++ b/test/helper.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models" + "git.anthrove.art/Anthrove/otter-space-sdk/v5/pkg/models" migrate "github.com/rubenv/sql-migrate" postgrescontainer "github.com/testcontainers/testcontainers-go/modules/postgres" "gorm.io/driver/postgres"