heroku-buildpack-go is utilized as the buildpack for detecting and building your Golang applications.
You can view the README for a full list of configuration options available to the buildpack.
A Go app is detected based on the existence of one of the following files at the root directory of your source code:
go.mod Gopkg.toml Godeps/Godeps.json vendor/vendor.json glide.yaml
The version in your
go.mod file is automatically detected and used as the version to build your application:
module github.com/digitalocean/sample-golang go 1.16 ...