String returns the string representation of this feature gate.
()
| 25 | |
| 26 | // String returns the string representation of this feature gate. |
| 27 | func (g Gate) String() string { |
| 28 | return string(g) |
| 29 | } |
| 30 | |
| 31 | // IsEnabled determines whether a certain feature gate is enabled. |
| 32 | func (g Gate) IsEnabled() bool { |
no outgoing calls