File tree Expand file tree Collapse file tree
internal/sdks/sdk_instructions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ mkdir hello-go && cd hello-go
99go 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
17174 . Create a file called main.go and add the following code:
@@ -99,9 +99,9 @@ func main() {
9999
100100Now 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
105105You should see:
106106
107- ` Feature flag my-flag-key is FALSE for this context `
107+ ` *** The ' my-flag-key' feature flag evaluates to false. `
You can’t perform that action at this time.
0 commit comments