Categorygithub.com/devcyclehq-labs/example-openfeature-go
modulepackage
0.0.0-20241115171214-9ba141108c32
Repository: https://github.com/devcyclehq-labs/example-openfeature-go.git
Documentation: pkg.go.dev

# README

DevCycle OpenFeature Go Server SDK Example App

An example app built using the DevCycle Go Server SDK with local bucketing

Creating a Demo Feature

This example app requires that your project has a feature with the expected variables, as well as some simple targeting rules.

Click here to automatically create the feature in your project ⇦

When you run the example app and switch your identity between users, you'll be able to see the feature's different variations.

Running the Example

Setup

Development

go run .

Runs the app in the development mode.
Requests may be sent to http://localhost:8000.

Documentation

For more information about using the DevCycle Go Server SDK, see the documentation

# Variables

ServiceUser is used outside of a request context, we define a service user.