Installation
go get github.com/mpyw/[email protected]What's Changed
Summary
- Remove
GoStringfromInspectionandBoolInspection- Reimplement
GoStringforkey[V]andboolKeyto output valid Go expressions with functional option format
feature.New[string](feature.WithName("key-name"))feature.NewBool(feature.WithName("flag-name"))- Update README with background on Go official proposal (golang/go#49189) and design decisions (Sealed Interface pattern, empty struct optimization avoidance)
Full Changelog: v0.3.0...v0.4.0