Skip to content
Snippets Groups Projects
Commit 98e21546 authored by jensilo's avatar jensilo
Browse files

allow env overwrite

parent 92eedb4f
No related branches found
No related tags found
1 merge request!4merge dev to main
...@@ -3,7 +3,7 @@ package eiffel ...@@ -3,7 +3,7 @@ package eiffel
// Cfg is EIFFEL's configuration struct. This can be used to unmarshal a TOML configuration file into. // Cfg is EIFFEL's configuration struct. This can be used to unmarshal a TOML configuration file into.
type Cfg struct { type Cfg struct {
NeglectOptional bool `toml:"neglect_optional"` NeglectOptional bool `toml:"neglect_optional" env:"EIFFEL_NEGLECT_OPTIONAL"`
} }
// TODO add tests for service, web and output // TODO add tests for service, web and output
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment