This is a basic Go web app suitable for deployment on heroku or openshift. It uses the heroku-buildpack-go buildpack to compile and deploy on the Cedar stack.
Clone this app into some directory and remove the git directory.
$ ./init.sh
$ ./build.sh
$ PORT=9022 bin/srv
Your app is now serving requests on http://localhost:9022
For hot server rebuild and launch
$ ./watch_go.sh