Ways to do things (from Peter Bourgon) Actors // Actor model (state machine) type stateMachine struct { state string actionc chan func() }