Simple key press listener and handler written in Go