🐛 Load config env before paraing cli
This commit is contained in:
parent
85f666cbc2
commit
a6f3cf39a0
3 changed files with 37 additions and 8 deletions
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue