diff --git a/cache/cache.go b/cache/cache.go index 270f81f8..6778f263 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -1,7 +1,7 @@ package cache import ( - "github.com/drone/ff-golang-server-sdk.v0/logger" + "github.com/drone/ff-golang-server-sdk/logger" "time" ) diff --git a/cache/lru.go b/cache/lru.go index a182ddd5..b243f284 100644 --- a/cache/lru.go +++ b/cache/lru.go @@ -1,7 +1,7 @@ package cache import ( - "github.com/drone/ff-golang-server-sdk.v0/logger" + "github.com/drone/ff-golang-server-sdk/logger" lru "github.com/hashicorp/golang-lru" "reflect" diff --git a/cache/persist.go b/cache/persist.go index 1281f36f..388effb5 100644 --- a/cache/persist.go +++ b/cache/persist.go @@ -1,10 +1,10 @@ package cache import ( - "github.com/drone/ff-golang-server-sdk.v0/dto" - "github.com/drone/ff-golang-server-sdk.v0/evaluation" - "github.com/drone/ff-golang-server-sdk.v0/logger" - "github.com/drone/ff-golang-server-sdk.v0/storage" + "github.com/drone/ff-golang-server-sdk/dto" + "github.com/drone/ff-golang-server-sdk/evaluation" + "github.com/drone/ff-golang-server-sdk/logger" + "github.com/drone/ff-golang-server-sdk/storage" "github.com/mitchellh/mapstructure" ) diff --git a/client/client.go b/client/client.go index 90969efe..e226ad25 100644 --- a/client/client.go +++ b/client/client.go @@ -12,12 +12,12 @@ import ( "github.com/deepmap/oapi-codegen/pkg/securityprovider" "github.com/dgrijalva/jwt-go" - "github.com/drone/ff-golang-server-sdk.v0/cache" - "github.com/drone/ff-golang-server-sdk.v0/dto" - "github.com/drone/ff-golang-server-sdk.v0/evaluation" - "github.com/drone/ff-golang-server-sdk.v0/rest" - "github.com/drone/ff-golang-server-sdk.v0/stream" - "github.com/drone/ff-golang-server-sdk.v0/types" + "github.com/drone/ff-golang-server-sdk/cache" + "github.com/drone/ff-golang-server-sdk/dto" + "github.com/drone/ff-golang-server-sdk/evaluation" + "github.com/drone/ff-golang-server-sdk/rest" + "github.com/drone/ff-golang-server-sdk/stream" + "github.com/drone/ff-golang-server-sdk/types" "github.com/hashicorp/go-retryablehttp" "github.com/r3labs/sse" ) diff --git a/client/config.go b/client/config.go index e7dce9f2..5438906f 100644 --- a/client/config.go +++ b/client/config.go @@ -3,9 +3,9 @@ package client import ( "log" - "github.com/drone/ff-golang-server-sdk.v0/cache" - "github.com/drone/ff-golang-server-sdk.v0/logger" - "github.com/drone/ff-golang-server-sdk.v0/storage" + "github.com/drone/ff-golang-server-sdk/cache" + "github.com/drone/ff-golang-server-sdk/logger" + "github.com/drone/ff-golang-server-sdk/storage" ) type config struct { diff --git a/client/options.go b/client/options.go index 9442e05f..0d0df9fa 100644 --- a/client/options.go +++ b/client/options.go @@ -1,9 +1,9 @@ package client import ( - "github.com/drone/ff-golang-server-sdk.v0/cache" - "github.com/drone/ff-golang-server-sdk.v0/logger" - "github.com/drone/ff-golang-server-sdk.v0/storage" + "github.com/drone/ff-golang-server-sdk/cache" + "github.com/drone/ff-golang-server-sdk/logger" + "github.com/drone/ff-golang-server-sdk/storage" ) // ConfigOption is used as return value for advanced client configuration diff --git a/dto/target_builder.go b/dto/target_builder.go index ae1affa7..e7fc5b48 100644 --- a/dto/target_builder.go +++ b/dto/target_builder.go @@ -1,7 +1,7 @@ package dto import ( - "github.com/drone/ff-golang-server-sdk.v0/evaluation" + "github.com/drone/ff-golang-server-sdk/evaluation" ) // TargetBuilderInterface used for fluent builder methods diff --git a/evaluation/feature.go b/evaluation/feature.go index 8c1f2ec3..2257961c 100644 --- a/evaluation/feature.go +++ b/evaluation/feature.go @@ -3,7 +3,7 @@ package evaluation import ( "encoding/json" - "github.com/drone/ff-golang-server-sdk.v0/types" + "github.com/drone/ff-golang-server-sdk/types" "reflect" "strconv" diff --git a/evaluation/feature_test.go b/evaluation/feature_test.go index 33519a13..e0940d8b 100644 --- a/evaluation/feature_test.go +++ b/evaluation/feature_test.go @@ -3,7 +3,7 @@ package evaluation import ( "encoding/json" - "github.com/drone/ff-golang-server-sdk.v0/types" + "github.com/drone/ff-golang-server-sdk/types" "reflect" "strconv" diff --git a/evaluation/target.go b/evaluation/target.go index 61b08d8a..635d449a 100644 --- a/evaluation/target.go +++ b/evaluation/target.go @@ -1,7 +1,7 @@ package evaluation import ( - "github.com/drone/ff-golang-server-sdk.v0/types" + "github.com/drone/ff-golang-server-sdk/types" "reflect" ) diff --git a/evaluation/target_test.go b/evaluation/target_test.go index beeb8f9d..59ac802f 100644 --- a/evaluation/target_test.go +++ b/evaluation/target_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/drone/ff-golang-server-sdk.v0/types" + "github.com/drone/ff-golang-server-sdk/types" ) func TestTarget_GetOperator(t1 *testing.T) { diff --git a/go.mod b/go.mod index fc28911e..67e41299 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/drone/ff-golang-server-sdk.v0 +module github.com/drone/ff-golang-server-sdk go 1.14 diff --git a/rest/adapter.go b/rest/adapter.go index c0ee92f9..03b39b24 100644 --- a/rest/adapter.go +++ b/rest/adapter.go @@ -1,6 +1,6 @@ package rest -import "github.com/drone/ff-golang-server-sdk.v0/evaluation" +import "github.com/drone/ff-golang-server-sdk/evaluation" func (wv WeightedVariation) convert() *evaluation.WeightedVariation { return &evaluation.WeightedVariation{ diff --git a/storage/file.go b/storage/file.go index 44955527..aca9a5ec 100644 --- a/storage/file.go +++ b/storage/file.go @@ -3,7 +3,7 @@ package storage import ( "fmt" - "github.com/drone/ff-golang-server-sdk.v0/logger" + "github.com/drone/ff-golang-server-sdk/logger" jsoniter "github.com/json-iterator/go" diff --git a/storage/storage.go b/storage/storage.go index cf077070..f6f9aade 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -6,7 +6,7 @@ import ( "path" "time" - "github.com/drone/ff-golang-server-sdk.v0/logger" + "github.com/drone/ff-golang-server-sdk/logger" "github.com/mitchellh/go-homedir" ) diff --git a/stream/sse.go b/stream/sse.go index 51a18cc3..3d2c564e 100644 --- a/stream/sse.go +++ b/stream/sse.go @@ -6,9 +6,9 @@ import ( "log" "time" - "github.com/drone/ff-golang-server-sdk.v0/cache" - "github.com/drone/ff-golang-server-sdk.v0/dto" - "github.com/drone/ff-golang-server-sdk.v0/rest" + "github.com/drone/ff-golang-server-sdk/cache" + "github.com/drone/ff-golang-server-sdk/dto" + "github.com/drone/ff-golang-server-sdk/rest" jsoniter "github.com/json-iterator/go" "github.com/r3labs/sse" )