Releases: struct0x/envconfig
Releases · struct0x/envconfig
v0.2.0
v0.1.1
v0.1.0
A small, dependency-free Go library for loading configuration from environment variables directly into your structs.
It supports nested structs, prefixes, defaults, required fields,
slices, maps, arrays, pointers, durations, and custom (un)marshalers.
A helper is provided to read variables from a .env file.
- Zero dependencies
- Simple, tag-driven API
- Works with standard os.LookupEnv or a custom lookups
- Optional .env file loader (supports comments, export, quoting, inline comments)