Golang implementation of a simple state machine