I want to my app shows:
press any key to exit ...
And when I pressed any key, it exits.
How can I achieve this?
Try this - http://play.golang.org/p/kg-QirlucY.
Just read from the os.Stdin at the end of the func main
os.Stdin
func main