-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix go sdk instructions #253
Conversation
```shell | ||
go get github.com/launchdarkly/go-server-sdk/v6 | ||
go get github.com/launchdarkly/go-server-sdk/v7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the file itself imports v7 below
internal/sdks/sdk_instructions/go.md
Outdated
@@ -99,9 +99,10 @@ func main() { | |||
|
|||
Now that your application is ready, run the application to see what value we get. | |||
```shell | |||
export LAUNCHDARKLY_SDK_KEY=1234567890abcdef |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the file gets the environment variable but we didn't actually set it anywhere. this could probably go at the top or here, doesn't matter much where
go build && ./hello-go | ||
``` | ||
|
||
You should see: | ||
|
||
`Feature flag my-flag-key is FALSE for this context` | ||
`*** The 'my-flag-key' feature flag evaluates to false.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is actually what the logs say
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I missed these changes since they're already in the quickstart.
tried actually setting these up for the next demo day recording and noticed these were off. will let the quickstart team know also