NewFeature creates a new feature flag with a boolean enablement flag.
(name string, enabled bool)
| 731 | |
| 732 | // NewFeature creates a new feature flag with a boolean enablement flag. |
| 733 | func NewFeature(name string, enabled bool) *Feature { |
| 734 | return &Feature{Name: name, Enabled: enabled} |
| 735 | } |
| 736 | |
| 737 | // Feature represents a named boolean feature flag supported by CEL. |
| 738 | type Feature struct { |
no outgoing calls