Better Programming

Advice for programmers.

Follow publication

Member-only story

Golang: Automate Your Product Release Cycles Using Go-Feature-Flag

Thomas Poignant
Better Programming
Published in
4 min readMay 26, 2021
Dials on an old-school machine
Photo by Dean Brierley on Unsplash.

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:

  1. 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:

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Thomas Poignant
Thomas Poignant

Written by Thomas Poignant

Engineering Manager! I build apps and deploy them in the ☁️. #GO #AWS #CICD. https://thomaspoignant.medium.com/subscribe

Responses (1)

Write a response