aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CHANGELOG.md3
-rw-r--r--README.md2
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
diff --git a/README.md b/README.md
index d076a4d..00b7183 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,7 @@ type AppConfig struct {
LogLevel string `env:"LOG_LEVEL"`
}
-// This will look for:
+// LoadFromEnv will look for:
// - URL
// - USERNAME
// - PASSWORD