v0.2.0
Installation
go get github.com/mpyw/feature@v0.2.0What's Changed
Breaking Changes
Removed Reason option Redundant (named keys are sufficient, anonymous keys now auto-include debug info) type No longer needed after removal Enhancements
Automatic Debug Info for Anonymous Keys
Keys created without a name now automatically include their definition location (file path and line number).
This allows you to quickly identify where a key was defined, even if you forgot to name it.
Changes
- Use to capture call site information
- Add for accurate stack depth tracking
- Update doc comments and README with new format documentation
- Extract anonymous key tests to (ensures stable line numbers)
Full Changelog: v0.1.0...v0.2.0