diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e0f750..fa08dde 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,10 +7,11 @@ experimental: - master - v2 - v3 + - v4 jobs: go-test: - working_directory: /go/src/gopkg.in/launchdarkly/go-client.v3 + working_directory: /go/src/gopkg.in/launchdarkly/go-client.v4 docker: - image: circleci/golang:1.9 diff --git a/README.md b/README.md index 15b2740..54ca99a 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,13 @@ Quick setup 1. Install the SDK with the `go` tool: ```bash -go get gopkg.in/launchdarkly/go-client.v3 +go get gopkg.in/launchdarkly/go-client.v4 ``` 2. Import the LaunchDarkly client: ```go -import ld "gopkg.in/launchdarkly/go-client.v3" +import ld "gopkg.in/launchdarkly/go-client.v4" ``` 3. Create a new LDClient with your SDK key: diff --git a/feature_store_test.go b/feature_store_test.go index 919a452..d8e7088 100644 --- a/feature_store_test.go +++ b/feature_store_test.go @@ -3,8 +3,8 @@ package ldclient_test import ( "testing" - ld "gopkg.in/launchdarkly/go-client.v3" - ldtest "gopkg.in/launchdarkly/go-client.v3/shared_test" + ld "gopkg.in/launchdarkly/go-client.v4" + ldtest "gopkg.in/launchdarkly/go-client.v4/shared_test" ) func makeInMemoryStore() ld.FeatureStore { diff --git a/redis/redis.go b/redis/redis.go index b1cd580..2cbb55a 100644 --- a/redis/redis.go +++ b/redis/redis.go @@ -12,7 +12,7 @@ import ( r "github.com/garyburd/redigo/redis" "github.com/patrickmn/go-cache" - ld "gopkg.in/launchdarkly/go-client.v3" + ld "gopkg.in/launchdarkly/go-client.v4" ) // A Redis-backed feature store. diff --git a/redis/redis_test.go b/redis/redis_test.go index e2f7608..19dce9a 100644 --- a/redis/redis_test.go +++ b/redis/redis_test.go @@ -7,8 +7,8 @@ import ( r "github.com/garyburd/redigo/redis" "github.com/stretchr/testify/assert" - ld "gopkg.in/launchdarkly/go-client.v3" - ldtest "gopkg.in/launchdarkly/go-client.v3/shared_test" + ld "gopkg.in/launchdarkly/go-client.v4" + ldtest "gopkg.in/launchdarkly/go-client.v4/shared_test" ) func makeRedisStore() ld.FeatureStore { diff --git a/shared_test/feature_store.go b/shared_test/feature_store.go index 6f3e5f2..6b7ebe6 100644 --- a/shared_test/feature_store.go +++ b/shared_test/feature_store.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - ld "gopkg.in/launchdarkly/go-client.v3" + ld "gopkg.in/launchdarkly/go-client.v4" ) func RunFeatureStoreTests(t *testing.T, makeStore func() ld.FeatureStore) {