Skip to content

Releases: widmogrod/mkunion

User friendly and more functional mkunion

03 Jan 16:23
69cec26
Compare
Choose a tag to compare

V1.2.x

  • Add breadth-first reducer traversal

V1.3.x

  • Use go:embed for templates

V1.4.x

  • Add function generation like Match to simplify work with unions
  • Benchmark implementation of Match vs Reducer (depth-first has close performance, but breadth-first is much slower)

V1.5.x

  • Add support for multiple go:generate mkunion in one file

V1.6.x

  • Add variant types inference

Add support for map[any]{Variant} type

23 Oct 19:02
6b6eb3d
Compare
Choose a tag to compare
  • Add support for map[any]{Variant} type

FIrst release that make sence

29 Sep 16:31
6219115
Compare
Choose a tag to compare
  • Generates visitor patterns for unions
  • Generates recursive reducers
  • Generates defaul visitor