/go-getting-started

Getting Started with Go on Heroku https://devcenter.heroku.com/articles/getting-started-with-go

Primary LanguageGo

go-getting-started

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.

Running Locally

Make sure you have Go and the Heroku Toolbelt installed.

$ 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.

Deploying to Heroku

$ heroku create --stack container
$ git push heroku master
$ heroku open

or

Deploy

Documentation

For more information about using Go on Heroku, see these Dev Center articles: