Re:State Machines in Go
by amourdezombi on Sunday February 10, 2013 @01:17PM
(#5197220)
One thing that hasn't been articulated in the recent HN articles about Go: method sets can be defined for _any_ type, not just structs.
[ Parent
| on HN ]
Yes, you can even attach a method to a function type.