Skip to content

Releases: nikolaydubina/go-enum-encoding

v1.9.0

14 Mar 06:30
25f2a44
Compare
Choose a tag to compare
  • single file for all tests, now generating only 2 files per enum
  • cleanup docs
  • simplify tests, aggregate test cases to most representative single file
  • remove customizations
  • use only switch based enums, due to better performance (Go JUMP tables faster than maps), and if enum needs runtime map, then likely may need other type. enums has to be close to compiler level, not runtime
  • snake_case conversion of enum
  • b.Loop()
  • AppendText

v1.8.2

28 Aug 07:15
f1787b6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.1...v1.8.2

v1.8.1

28 Aug 07:08
875f57c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

v1.8.0

27 Aug 14:38
25e02f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.8.0

v1.7.0

27 Aug 10:32
a520af3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.2...v1.7.0

v1.6.2

27 Aug 07:18
cafb5c9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.1...v1.6.2

v1.6.1

27 Aug 06:40
13bf8ab
Compare
Choose a tag to compare

What's Changed

  • Tailscale feedback by @nikolaydubina in #28
  • fixes issue with missing dot in generated code header line
  • fixes issue with package level godoc is mixed with generated directive
  • avoid malloc in String() method
  • short version of String method
  • conversion to string is efficient as conversion to []byte

Full Changelog: v1.6.0...v1.6.1

v1.6.0

27 Aug 02:28
cf0aa9e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.6.0

v1.5.0

20 Aug 08:45
Compare
Choose a tag to compare

Warning

go:generate command is required to be immediately before var/const block with enum values

What's Changed

New Contributors

  • @orenl made their first contribution in #26

Full Changelog: v1.4.1...v1.5.0

v1.4.2

28 May 11:12
6055f6d
Compare
Choose a tag to compare
  • iota illustration