2020-11-20 04:08:38 +00:00
|
|
|
package balance
|
|
|
|
|
|
|
|
// Feature Flags to turn on/off experimental content.
|
|
|
|
var Feature = feature{
|
|
|
|
Zoom: false,
|
2021-06-06 03:50:56 +00:00
|
|
|
ChangePalette: false,
|
2020-11-20 04:08:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// FeaturesOn turns on all feature flags, from CLI --experimental option.
|
|
|
|
func FeaturesOn() {
|
|
|
|
Feature.Zoom = true
|
2021-06-06 03:50:56 +00:00
|
|
|
Feature.ChangePalette = true
|
2020-11-20 04:08:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type feature struct {
|
|
|
|
Zoom bool
|
2021-06-06 03:50:56 +00:00
|
|
|
ChangePalette bool
|
2020-11-20 04:08:38 +00:00
|
|
|
}
|