Documentation
¶
Overview ¶
Package experimental defines flags that control experimental features
Index ¶
Constants ¶
View Source
const (
// NoopFeature is a placeholder feature flag that allows us to test our feature flag functions even when there are no active feature flags
NoopFeature = "no-op"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlags ¶
type FeatureFlags int
FeatureFlags is an enum of possible feature flags
const ( // FlagNoopFeature is a placeholder feature flag that allows us to test our feature flag functions even when there are no active feature flags FlagNoopFeature FeatureFlags = iota + 1 )
func ParseFlags ¶
func ParseFlags(flags []string) FeatureFlags
ParseFlags converts a list of feature flag names into a bit map for faster lookups.
Click to show internal directories.
Click to hide internal directories.