doodle/pkg/balance/feature_flags.go

19 lines
337 B
Go

package balance
// Feature Flags to turn on/off experimental content.
var Feature = feature{
Zoom: false,
ChangePalette: false,
}
// FeaturesOn turns on all feature flags, from CLI --experimental option.
func FeaturesOn() {
Feature.Zoom = true
Feature.ChangePalette = true
}
type feature struct {
Zoom bool
ChangePalette bool
}