Changes in this release:
- feat: method for current state (a6ca01e): Get the current state by calling
machine.State()
. - feat: enable complex state types (e17ea26): Use structs as state types to store additional information.
- feat: return last and current state on transition (64f4ede): A call to
machine.Transition(Event)
now returns a three-tuple of last state, current state and error.
Full Changelog: v1.0.0...v1.1.0