Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Commit

Permalink
bump version to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed May 10, 2018
1 parent 036af80 commit d9f4944
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions feature_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions redis/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion shared_test/feature_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d9f4944

Please sign in to comment.