Prevent lint complaining about unused function nolint:unparam
(name string)
| 25 | // |
| 26 | //nolint:unparam |
| 27 | func disable(name string) *feature { |
| 28 | if features[name] == nil { |
| 29 | features[name] = &feature{name: name} |
| 30 | } |
| 31 | features[name].enabled = false |
| 32 | return features[name] |
| 33 | } |
| 34 | |
| 35 | // Prevent lint complaining about unused function |
| 36 | // |
no outgoing calls