Skip to content

Releases: abice/go-enum

Case Insensitive parsing

16 Feb 19:23
5ed55ce
Compare
Choose a tag to compare
Add case invariant parsing (#45)

* Add case insensitive parsing

New CLI Library

11 Jan 19:21
a1ca18f
Compare
Choose a tag to compare

Update Dependencies

Custom Prefix

17 Jan 20:10
18aeaef
Compare
Choose a tag to compare
Custom Prefix (#39)

* Add Prefix

Value Receiver for MarshalText method

11 Dec 19:03
Compare
Choose a tag to compare
Use value receiver for MarshalText (#37)

* Use value receiver for MarshalText

* Switch to same version of go-bindata installed by homebrew

Bug fix

19 Apr 14:20
fd4b3b6
Compare
Choose a tag to compare
v0.2.1

Fixed multi-hyphen sanitization. (#35)

v0.2.0: Added option for snake_case to CamelCase. (#33)

09 Apr 23:45
9b3947d
Compare
Choose a tag to compare
* Added option for snake_case to CamelCase.
The default will be to convert the names of the fields.
There is a flag to disable that conversion.

Comment Parsing Fix

14 Feb 22:47
835e766
Compare
Choose a tag to compare
Add more complex comments (#30)

* generator: added more complex comment parsing.

* Updated dependencies

Release 0.1.5

14 Feb 19:37
Compare
Choose a tag to compare
  • support for comments in ENUM definitions
  • option for sql scan support
  • updated dependencies

Names and Offsets

06 Aug 22:46
1590932
Compare
Choose a tag to compare

Added support for starting at an offset.
Added support for generating a Names() func that will return all available names for an enum

Added Flag Support

24 Apr 17:32
5d428ee
Compare
Choose a tag to compare
Merge pull request #16 from abice/SanitizeValues

Added value name sanitization for valid go identifiers