features

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package features provides a simple feature flag registry. The base build has no features enabled. Extension builds call Enable() from init() to activate additional features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() map[string]bool

All returns a copy of all enabled feature flags.

func Disable

func Disable(name string)

Disable removes a feature flag.

func Enable

func Enable(name string)

Enable marks a feature as enabled.

func IsEnabled

func IsEnabled(name string) bool

IsEnabled reports whether a feature is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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