env
env copied to clipboard
🔍 Load environment variables into a config struct
Something like: ```go type Config struct { Foo string `env:"FOO"` } var cfg struct { Config `env:"APP_,required"` } ``` See the conversation from #52 for details.
Release a stable version after #55 and #57 are implemented and tested.
Closes #30
The idea and API is similar to `flag.Visit`. This option could have solved #19