Package Usage: go: github.com/sethvargo/go-envconfig
Package envconfig populates struct fields based on environment variable
values (or anything that responds to "Lookup"). Structs declare their
environment dependencies using the "env" tag with the key being the name of
the environment variable, case sensitive.
All built-in types are supported except Func and Chan. If you need to define
a custom decoder, implement Decoder:
In the environment, slices are specified as comma-separated values:
In the environment, maps are specified as comma-separated key:value pairs:
For more configuration options and examples, see the documentation.
32 versions
Latest release: about 1 year ago
334 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/sethvargo/go-envconfig