Skip to content

Releases: struct0x/envconfig

v0.2.0

24 Oct 19:51
b54c3a5

Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.2.0

v0.1.1

27 Sep 18:36
3512019

Choose a tag to compare

  • minor changes to decoding function

v0.1.0

13 Sep 12:22
a7c2d82

Choose a tag to compare

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)