This is a basic Go web app suitable for deployment on heroku. 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.
polarna:my-app zeebo$ GOPATH=`pwd` go get -v app
app
polarna:my-app zeebo$ PORT=9022 bin/app
Your app is now serving requests on http://localhost:9022