diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-19 17:08:01 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-19 17:08:01 -0400 |
| commit | 7ed6df7698f527dec4299e85767b893dc8ccd0ce (patch) | |
| tree | d49d7cf4613dc82bf5f8a83e9316bd9c6925ad76 | |
| parent | fix package install in build (diff) | |
| download | envelope-7ed6df7698f527dec4299e85767b893dc8ccd0ce.zip | |
Release v0.2.0v0.2.0
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cf6f86d..d4706fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2025-07-19 ### Added + - Support for nested struct handling - Structs within structs are now processed recursively, allowing for nested configuration - A parent struct field with an `env` tag acts as a prefix for all fields in its nested struct @@ -26,9 +27,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ability to override default parsers for built-in types ### Changed + - Improved error messages with more context about failure points ### Fixed + - Boolean parsing now supports additional formats (on/off, yes/no, y/n) - Proper handling of unexported fields in structs @@ -130,7 +130,7 @@ type AppConfig struct { LogLevel string `env:"LOG_LEVEL"` } -// This will look for: +// LoadFromEnv will look for: // - URL // - USERNAME // - PASSWORD |