Skip to content

Releases: golift/cnfg

Marshal Custom Type

21 Jan 22:39
95b955b
Compare
Choose a tag to compare

More support for custom types (bug fixes) when marshaling into env vars.

Bug Fix + support alias types

28 Apr 06:11
6b77ce5
Compare
Choose a tag to compare

Fixes a small bug, and adds support for aliases of base types.

Custom Type Fix

05 Jul 08:11
Compare
Choose a tag to compare

Small fixes for custom types.

Lowercase

28 Feb 09:55
Compare
Choose a tag to compare

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.

15 Jan 07:00
Compare
Choose a tag to compare

This release just adds a simple new String() method to the Duration type.

Environment Marshal Support

05 Oct 04:11
6cd686e
Compare
Choose a tag to compare

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

06 Sep 22:37
Compare
Choose a tag to compare

Makes Duration.MarshalJSON work...

Cleanup and YAML vendor upgrade.

01 Nov 06:03
Compare
Choose a tag to compare

This release just contains minor cleanup and upgrade to yaml v3. No functional changes.

Updates

27 Sep 20:53
Compare
Choose a tag to compare

This release fixes a minor bug and adds methods to unmarshal the Duration type correctly.

Switch TOML lib

27 Dec 04:07
Compare
Choose a tag to compare

The pelletier TOML library doesn't seem to support UnmarshalText methods, so switching back to BurntSushi.