crowdsec/pkg/fflag
mmetc 6efc2688b1
simplify feature flags (#1947)
Now checking for a feature flag is a one liner,
with no need to control errors.

if fflag.Crowdsec.CscliSetup.IsEnabled() {
   ...
}
2022-12-26 14:23:41 +01:00
..
crowdsec.go simplify feature flags (#1947) 2022-12-26 14:23:41 +01:00
features.go simplify feature flags (#1947) 2022-12-26 14:23:41 +01:00
features_test.go simplify feature flags (#1947) 2022-12-26 14:23:41 +01:00