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.
The app use labstack/echo
as an 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.
To build the app you have to run these command:
go mod vendor # to retrieve dependencies
go build .
If you have any issue with this demo app you can open an issue.
If the problem is related to the SDK please open the issue in the thomaspoignant/go-feature-flag
repository.