Skip to content
Branch: master
Clone or download
Latest commit f045cde Mar 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static Remove extra newline at EOF Dec 16, 2015
templates
vendor go mod {init,tidy,vendor} Mar 20, 2019
.env
.gitattributes
.gitignore Use `go build` and `bin/` Mar 21, 2019
Dockerfile README & Dockerfile updates Mar 20, 2019
Makefile
Procfile Use `go build` and `bin/` Mar 21, 2019
README.md Fix typo in README Mar 21, 2019
app.json Testing heroku.yml Oct 24, 2017
go.mod
go.sum
heroku.yml heroku.yml note Nov 29, 2017
main.go

README.md

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 version 1.12 or newer and the Heroku Toolbelt installed.

$ git clone https://github.com/heroku/go-getting-started.git
$ cd go-getting-started
$ go build -o bin/go-getting-started -v .
github.com/mattn/go-colorable
gopkg.in/bluesuncorp/validator.v5
golang.org/x/net/context
github.com/heroku/x/hmetrics
github.com/gin-gonic/gin/render
github.com/manucorporat/sse
github.com/heroku/x/hmetrics/onload
github.com/gin-gonic/gin/binding
github.com/gin-gonic/gin
github.com/heroku/go-getting-started
$ heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy

Documentation

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

You can’t perform that action at this time.