Feature Flags Go client.
go get github.com/altipla-consulting/features-goTo configure features, you need to run features configure, passing the server URL and the project corresponding to the flags.
func main() {
features.Configure("https://youserver.com", "project")
}if features.Flag(ctx, "feature") {
fmt.Print("Feature flag is enabled.")
}if features.Flag(ctx, "feature", features.WithTenant("tenant")) {
fmt.Print("Feature flag is enabled with tenant.")
}You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.