Skip to content

Commit 2fe1c8a

Browse files
authored
fix: fix go sdk instructions (#253)
* fix go sdk instructions * update run application cmd
1 parent 7d54823 commit 2fe1c8a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • internal/sdks/sdk_instructions

internal/sdks/sdk_instructions/go.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ mkdir hello-go && cd hello-go
99
go mod init example/hello-go
1010
```
1111

12-
3. Next, install the SDK (SDK v6 requires go 1.18+):
12+
3. Next, install the SDK (SDK v7 requires go 1.18+):
1313
```shell
14-
go get github.com/launchdarkly/go-server-sdk/v6
14+
go get github.com/launchdarkly/go-server-sdk/v7
1515
```
1616

1717
4. Create a file called main.go and add the following code:
@@ -99,9 +99,9 @@ func main() {
9999

100100
Now that your application is ready, run the application to see what value we get.
101101
```shell
102-
go build && ./hello-go
102+
go build && LAUNCHDARKLY_SDK_KEY='1234567890abcdef' ./hello-go
103103
```
104104

105105
You should see:
106106

107-
`Feature flag my-flag-key is FALSE for this context`
107+
`*** The 'my-flag-key' feature flag evaluates to false.`

0 commit comments

Comments
 (0)