Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyEnvOverrides ¶
ApplyEnvOverrides overrides field values from environment variables
fields must be tagged with `env:"env_key"`
only works on exported fields
fields without an env tag are ignored fields with an `env:"-"` tag are ignore
sub-structs are recursively parsed (if they have an env tag) and the env-variable keys are delimited by the delim parameter sub-structs with `env:""` are also parsed, but the delimited is skipped (they are handled as if they were one level higher)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.