Skip to content

v0.4.0

Latest

Choose a tag to compare

@mpyw mpyw released this 14 Dec 06:20
· 3 commits to main since this release
13a0bcf

Installation

go get github.com/mpyw/[email protected]

What's Changed

  • Reimplement GoString for keys with functional option format by @mpyw in #3

Summary

  • Remove GoString from Inspection and BoolInspection
  • Reimplement GoString for key[V] and boolKey to 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