Skip to content

Releases: peak/go-config

v0.2.0

18 Oct 07:57
fda9b31

Choose a tag to compare

Use github.com/pelletier/go-toml to support time.Duration (#10)

* go: use github.com/pelletier/go-toml package

This package has native time.Duration parser and serializer.

* config: remove Duration type since new package supports out of the box

* github: add ci workflow

* github: add codeowners

* github: add gofmt check

* github: fix gofmt check

Skip unexported struct fields

02 Sep 05:28
5743e38

Choose a tag to compare

v0.1.10

go-config: skip unexported fields (#9)

nested toml key

06 Dec 08:31
ce10418

Choose a tag to compare

Construct nested toml key if flag is set and not given

env and toml tags fixed

08 Nov 08:11
43633a3

Choose a tag to compare

  • Lookup env and toml field tags when flag is not given

  • Assign flags according to their precedence order

env variables supported

07 Nov 14:29
3926ec7

Choose a tag to compare

Support environment variables and built-in numeric types

go modules enabled

30 Apr 14:51

Choose a tag to compare

v0.1.5

go modules enabled