Releases: syntaqx/env
Releases · syntaqx/env
v0.2.3
v0.2.2
What's Changed
- Retain code defaults if not overwritten by
Unmarshal
file
option to load environment value from a file
Full Changelog: v0.2.1...v0.2.2
v0.2.1
v0.2.0
What's Changed
- Nested Prefixing by @syntaqx in #5
- Error signature refactoring by @syntaqx in #6
- Provides
Get
aliasGetString
for convention - Adds support for multiple
default
slice values throughdefault=[one,two,three]
- Does not require the brackets if there is only 1 default item.
Breaking Changes
- Refactors to a
val, err := Get("ENV")
based signature - Changes most functions to a
val, err
signature to match this
Full Changelog: v0.1.1...v0.2.0
v0.1.1
- Dropping support for the
Marshal
function; It was problematic, and unnecessary - Further test coverage and functionality exposed
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- Unmarshal & Updates by @syntaqx in #3
- Remove dependencies, including
github.com/joho/godotenv
- Removal ofLoad
functions - Provide
Unmarshal
andMarshal
functionality for structs - More type support functions, and
Required
- Remove dependencies, including
Full Changelog: v0.0.4...v0.1.0
v0.0.4
What's Changed
- Add functionality for parsing comma list value into a slice of strings by @john-peterson-g17 in #2
New Contributors
- @john-peterson-g17 made their first contribution in #2
Full Changelog: v0.0.3...v0.0.4