openfeature-example

command module
v0.0.0-...-23f3e68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 9 Imported by: 0

README

Openfeature example

Run flagd provider

make flagd

Run code

go run main.go

Change flags via flags.flagd.json file

{
  "flags": {
    "welcome-message": {
      "variants": {
        "on": true,
        "off": false
      },
      "state": "ENABLED",
      "defaultVariant": "on/off" // as you need it
    }
  }
}

Current problems

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL