You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs say: env-separator="<value>" - custom list and map separator. If not set, the default separator , will be used;
implying maps with arbitrary keys are supported. Yet, there's no example for it.
It is unclear how to assign env variable to a attribute of a struct which is a value of a map:
The docs say:
env-separator="<value>" - custom list and map separator. If not set, the default separator , will be used;
implying maps with arbitrary keys are supported. Yet, there's no example for it.
It is unclear how to assign env variable to a attribute of a struct which is a value of a map:
Let's say we have:
config.go:
config.yaml:
How do I provide names through env vars?
Is it
ANIMALS_DOG_NAME
/ANIMALS_CAT_NAME
or what?What's
env-separator
is about?@ilyakaznacheev
The text was updated successfully, but these errors were encountered: