Skip to content

Releases: greencoda/confiq

Stable release

24 Apr 19:03
Compare
Choose a tag to compare
v1.3.3

Fixes issue with nested structs default values not getting decoded

Modularized loader syntax

24 Apr 07:55
e9e59a4
Compare
Choose a tag to compare

This release features a new modularized loader syntax which allows users to load config values via the following new syntax, instead of first-level methods on the configSet struct:

configSet := confiq.New()

if err := configSet.Load(
    confiqjson.Load().FromFile("./config.json"),
    confiq.WithPrefix("somePrefix"),
); err != nil {
    log.Fatal(err)
}

First release

11 Apr 10:54
Compare
Choose a tag to compare

Full support for loading JSON, TOML, YAML and Env files onto structs to be used as configuration inputs.