Skip to content

Latest commit

 

History

History

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GO Feature Flag demo

Caution

This demo is using the GO Feature Flag module directly. We recommend to use OpenFeature instead for a better integration with different technologies.

This repository contains a demo app using the library thomaspoignant/go-feature-flag which display a webapp containing a grid of users.
Each square is a different user and can be change by modifying the feature flag color-box.

With this demo app you can modify your flag and visually see which users are impacted by the change.

go-feature-flag-demo.mp4

In this example we can see how randomly the flag apply to only a percentage of the users.

About the app

The app use labstack/echo as a http server and serve an HTML page with one square per user.

Every square has his own UUID to represent a user, it means that you play with you flag and directly see which user will be impacted.

Build the app

To build the app you have to run these command:

go mod tidy && go mod vendor # to retrieve dependencies
go build .
./demo

Report a problem

If you have any issue with this demo app you can open an issue.