package config type FeatureToggle struct { LoggerEnabled bool `mapstructure:"logger_enabled"` } func (f *FeatureToggle) IsLoggerEnabled() bool { return f.LoggerEnabled }