- Use io.Reader instead of custom Reader
- Support for reading UTF16 files
- Scanner error handling
- Reader error handling
- Env var initialization
- More consitent line splitting
- Missing file close
- Updated dependencies
- Add
Marshal
andUnmarshal
helpers
- The CI will now run a linter and the tests on PRs.
- Support = within double-quoted strings
- Add support for multiline values
OverLoad
prefer environment variables over local variables
- Add
Must
helper to raise an error as panic. It can be used withLoad
andOverLoad
. - Add more tests to be 100% coverage.
- Add CHANGELOG
- Add more OS for the test: OSX and Windows
- Reduce complexity and improve source code for having
A+
score in goreportcard. - Updated README with mentions to all available functions
- Remove
ErrFormat
- Remove
MustLoad
andMustOverload
, replaced withMust
helper.
- Replace
os.Getenv
withos.LookupEnv
to ensure that the environment variable is not set, by radding
- Supports carriage return in env
- Handle files with UTF-8 BOM
- Whitespace handling
- Incorrect variable expansion
- Handling escaped '$' characters
First stable release.