Skip to content

Releases: go-pkgz/enum

Release v0.3.1

25 Apr 20:14
Compare
Choose a tag to compare

What's new

  • Fix handling of binary expressions with iota (fixes #14)
  • Now properly handles enum definitions like
  • Previously, the first constant was being skipped when using expressions like

Release v0.3.0

25 Apr 19:59
Compare
Choose a tag to compare

What's new

  • Add dummy usage of enum constants to prevent linter warnings
  • Improve README documentation for naming conventions and parameters
  • Fix go:generate examples in README to include @latest tag
  • Add Go 1.23 iterator support
  • Add support to get the enum value by the constant int value
  • Fix handling of repeated constant values in enum declarations
  • Add support for explicit enum values instead of assuming sequential iota values
  • Update dependencies
  • Improve file permission handling

Version 0.2.0

29 Mar 19:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.2.0

Version 0.1.0

16 Feb 21:52
Compare
Choose a tag to compare

initial release