Set sets a feature to the specified enabled state in the default registry.
(category, name string, enabled bool)
| 118 | |
| 119 | // Set sets a feature to the specified enabled state in the default registry. |
| 120 | func Set(category, name string, enabled bool) { |
| 121 | DefaultRegistry.Set(category, name, enabled) |
| 122 | } |
| 123 | |
| 124 | // Get returns all features from the default registry. |
| 125 | func Get() map[string]map[string]bool { |