Skip to content

Releases: esome/golang-enum

v1.1.0

27 Jan 12:11
06f55ef

Choose a tag to compare

What's Changed

  • Introduction of new functions Diff, Intersect and Join
    • Diff computes the difference between the actual and the given enum.
    • Intersect computes the intersection of the actual and the given enum.
    • Join combines the actual and the given enum into a new one containing all elements from both.
  • Use new Go workflow for GitHub Actions

Full Changelog: v1.0.0...v1.1.0

v1.0.0

30 May 08:01

Choose a tag to compare

Initial Release as a separate fork
This release is based on https://github.com/orsinium-labs/enum/commits/v1.3.0

🧬 Origin:

This project is a fork of 🐙 https://github.com/orsinium-labs/enum.
So if you like it, consider ❤️ sponsoring the original author.

⛓️‍💥️ Breaking changes compared to the original library:

The generic value field of enum.Member has been renamed to Val from Value. This enables the implementation of the database/sql/driver.Valuer interface on derived types.

Unfortunately, @orsinium refused to merge the pull-request, so it is a separate fork now.

Full Changelog: https://github.com/esome/golang-enum/commits/v1.0.0