Hacker News new | ask | show | jobs
by preseinger 1097 days ago
you define Transition over T comparable, but there is no guarantee that comparable implements json.Marshaler, so FSM's MarshalJSON and UnmarshalJSON don't really work