🐛 Load config env before paraing cli

This commit is contained in:
Dan Jones 2024-02-10 11:48:23 -06:00
commit a6f3cf39a0
3 changed files with 37 additions and 8 deletions

View file

@ -19,5 +19,9 @@ type Output struct {
}
type Stdout struct {
Json bool `env:"LOG_STDOUT_JSON"`
Json bool `env:"LOG_STDOUT_JSON" mapstructure:"json"`
}
type stdoutEnabled struct {
Enabled bool `env:"LOG_STDOUT_ENABLED"`
}