Releases: golift/cnfg
Marshal Custom Type
More support for custom types (bug fixes) when marshaling into env vars.
Bug Fix + support alias types
Fixes a small bug, and adds support for aliases of base types.
Custom Type Fix
Small fixes for custom types.
Lowercase
This release adds a new input struct member named Low. Use this to allow lowercase letters in your environment variables names.
The cnfgfile module was removed from this one and put into its own repository: https://golift.io/cnfgfile
Add custom String method to custom Duration type.
This release just adds a simple new String() method to the Duration type.
Environment Marshal Support
This release adds the ability to marshal a data structure into environment variables. These variables can be passed directly into exec.Command.Env.
Marshal fixes
Makes Duration.MarshalJSON work...
Cleanup and YAML vendor upgrade.
This release just contains minor cleanup and upgrade to yaml v3. No functional changes.
Updates
This release fixes a minor bug and adds methods to unmarshal the Duration type correctly.
Switch TOML lib
The pelletier TOML library doesn't seem to support UnmarshalText methods, so switching back to BurntSushi.