-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
Go tutorial πΏοΈ #8904
Go tutorial πΏοΈ #8904
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
Dependency Reviewβ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
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.
Nice! π Left some suggestions to align with the style guide. Please use up-to-date screenshots π (also with better aspect ratio if possible). Let me know if you need help
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Outdated
Show resolved
Hide resolved
|
||
## 5. Add Unleash to your Go app | ||
|
||
Now, let's connect our project to Unleash so that you can toggle that feature flag at runtime. If you wanted to, you could also do a gradual rollout, use it for a/b testing, etc. |
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.
I wonder if linking to the gradual rollout process or a/b testing would be good here.
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Show resolved
Hide resolved
Co-authored-by: Melinda Fekete <[email protected]> Co-authored-by: Nnenna Ndukwe <[email protected]>
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.
Apologies if I sound overly critical, I'm probably just missing some context. Some general feedback:
- Go code looks idiomatic
- Section using SDK looks good
I was having trouble understanding the first section of this PR where we provide examples on how to integrate with our API. There are a couple of reasons why:
- When I read feature flagging guide, unless it's made very clear, I assume that the guide is on consumption of feature flags.
- Language specific examples may be useful if you are writing a golang application that for some reason needs to manipulate the Admin API, but is this common? This is primarily something you would do via the Unleash UI. If I was going to automate this I would probably write bash scripts. It's typically not something you do from the application that consumes Unleash. I wonder if it just causing confusion?
website/docs/feature-flag-tutorials/golang/implementing-feature-flags-golang.md
Show resolved
Hide resolved
Hey, thanks for the review @FredrikOseberg I said this in another comment but the It's so that people have easy blocks of code to copy-paste for various actions in their favourite languages. We've done this for every language we support so far. That doesn't mean we have to continue doing it π If you think these examples are counterproductive then we can talk about removing them I removed all the problematic sections that you pointed out π |
And examples π