Finite state machine in Golang