#1 solutionFeature flags for Go

Optimize your Go development and ship code faster and safer with feature flags. Tggl lets you deploy code when it is ready and release it when you are.

Go logo
Tggl logo

Trusted by

Swan logoSellsy logoRise up logoStoik logoYuno logoSlowy logoAlgoan logoEquify logoGoelo logo

Using feature flags with Go

Tggl lets you adopt best practises and add feature flags to your Go app in minutes with only a few lines of code.

package main
import (
func main() {
  client := &http.Client{}
  var data = strings.NewReader(`{"userId":"foo","email":"foo@gmail.com"}`)
  req, err := http.NewRequest("POST", "https://api.tggl.io/flags", data)
  if err != nil {
  req.Header.Set("Content-Type", "application/json")
  req.Header.Set("x-tggl-api-key", "API_KEY")
  resp, err := client.Do(req)
  if err != nil {
  defer resp.Body.Close()
  bodyText, err := ioutil.ReadAll(resp.Body)
  if err != nil {
  fmt.Printf("%s\n", bodyText)

API documentation

Best in class UIEasy to use interface for non-technical users

Empower product and marketing teams to experiment within safe boundaries set by your engineering team.

Your app is instantly updated when a flag is updated, no need to write code and deploy the new version.

Feature flag conditions based on plan type

PerformanceAPI or local flag evaluation

API flags evaluation

A single API call to evaluate all flags

Tggl lets you evaluate all flags in a single round trip to our servers using our robust and highly performant API.

You can also evaluates thousands of users at once by batching all your calls in a single HTTP request.

Read the documentation
Local flags evaluation

Local flags evaluation on your backend

Evaluate millions of flags a second locally without making a single API call. You data never sees our servers and you can evaluate flags a millisecond.

As resilient as it can be, if the Tggl API ever goes down, you can still evaluate flags locally based on the last successful sync.

Read the documentation

What our clients have to say about us

quote left
We chose Tggl as part of our strategy to improve our release process and reliability as we grow. We were using config files and database values as a homemade solution, and the switch to Tggl was surprisingly swift and their technical support very responsive. It has streamlined our release process pretty much instantly and has become our go-to tool for pure technical work like smooth technology migrations and kill switches. It is now an integral part of our workflow.
quote right
Brice Flaceliere profile pictureBrice Flaceliere, Staff software engineer @Sellsy

We value privacy and security

GRPR compliant

GDPR compliant

Tggl's robust data handling practices ensure GDPR compliance, safeguarding user privacy and data security.

Data stored in EU

Data stored in EU

Tggl securely stores data within the European Union, adhering to stringent data protection standards and regulations.

Your data dont reach our servers

Your data never reaches our servers

Use the open source Tggl proxy on your own infrastructure to ensure that your data never leaves your servers.

Two-factors authentification

Two-factor authentication

Enable two-factor authentication (2FA) to greatly improve your security posture on Tggl!

Custom roles

Custom roles

Assign granular access permissions to ensure the right people have the right access.

Feature flags history

Flag history

Precisely track what changes were made, who made them, and easily rollback to a previous configuration.

Start implementing feature flags in Go

You can start experimenting with Tggl for free and get your first results in 3 minutes. It even comes with a great documentation, and a Go SDK that does the heavy lifting for you!

Get startedNo credit-card required
Get started video preview