Help us shape the future of Go! Take the 2026 Go Developer Survey

features

package
v1.11.9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package features provides process-local feature flag evaluation. Applications requiring coordinated rollout, audit history, or multi-instance consistency should use a durable feature-management provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager stores process-local boolean feature flags.

func NewManager

func NewManager() *Manager

NewManager creates a new feature flag manager.

func (*Manager) IsEnabled

func (m *Manager) IsEnabled(ctx context.Context, featureKey string) bool

IsEnabled evaluates if a feature flag is enabled.

Jump to

Keyboard shortcuts

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