Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disable ¶
func Disable(names ...string)
Disable removes all feature flags in a given slice from the current feature list.
func Enable ¶
func Enable(names ...string)
Enable adds a given slice of feature names to the current feature list.
func NewFeatureFlagSet ¶
func NewFeatureFlagSet(flags ...string)
NewFeatureFlagSet initializes and populates a new FeatureFlagSet. This must be called to properly initialize the set for tracking flags. It is also useful for selectively controlling flags during tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.