A barebones Go app, which can easily be deployed to Heroku.
This application supports the Getting Started with Go on Heroku article - check it out.
$ go get -u github.com/heroku/go-getting-started $ cd $GOPATH/src/github.com/heroku/go-getting-started $ heroku local
Your app should now be running on localhost:5000.
You should also install govendor if you are going to add any dependencies to the sample app.
$ heroku create $ git push heroku master $ heroku open
For more information about using Go on Heroku, see these Dev Center articles: