This commit is contained in:
aditya.siregar
2024-08-10 23:52:09 +07:00
parent 2fd676ef3e
commit 414c980c13
12 changed files with 68 additions and 28 deletions
+9
View File
@@ -0,0 +1,9 @@
package config
type FeatureToggle struct {
LoggerEnabled bool `mapstructure:"logger_enabled"`
}
func (f *FeatureToggle) IsLoggerEnabled() bool {
return f.LoggerEnabled
}