Member-only story
Golang: Automate Your Product Release Cycles Using Go-Feature-Flag
Progressive rollout, scheduling workflows, and experimentation with just a basic configuration
When you build a new feature, orchestrating the actual launch schedule between the Product, Engineering, and Marketing teams can be challenging.
While it seems easy to launch something new, a poorly executed rollout can end up being your worst nightmare.
In this article, I will present to you how to use the Go module go-feature-flag
to roll out your new features smoothly and help you be confident during the rollout phase. If you are not familiar with the concept of feature flags or feature toggles, I encourage you to read this article by Martin Fowler.
go-feature-flag
is a Go module to easily manage your flags. You can refer to this article I wrote a few months ago to understand how it works.
How To Use go-feature-flag
The library is super simple to use:
- Install the module:
go get github.com/thomaspoignant/go-feature-flag
2. Init the client with the location of your configuration file for your flags: