{"repo":"heroku/heroku-buildpack-go","free":true,"listed":false,"github":"https://github.com/heroku/heroku-buildpack-go","clone":"git clone https://github.com/heroku/heroku-buildpack-go.git","description":"Heroku's classic buildpack for Go apps","language":"Shell","stars":791,"topics":["heroku-languages","buildpack","go","golang","heroku"],"license":"MIT","category":"dev-tools","readme_excerpt":"Heroku Buildpack for Go This is the official [Heroku buildpack][buildpack] for [Go][go]. Getting Started Follow the guide at There's also a hello world sample app at Example This buildpack will detect your repository as Go if it contains a [go.mod][gomodules] file. This buildpack adds a heroku [build constraint][build-constraint], to enable heroku-specific code. See the [App Engine build constraints article][app-engine-build-constraints] for more info. Go Module Specifics When using go modules, this buildpack will search the code base for main packages, ignoring any in vendor/ , and will automatically compile those packages. If this isn't what you want you can specify specific package spec(s) via the go.mod file's // +heroku install directive (see below). The go.mod file allows for arbitrary comments. This buildpack utilizes build constraint style comments to track Heroku build specific configuration which is encoded in the following way: - // +heroku goVersion : the major version of go you would like Heroku to use when compiling your code. If not specified this defaults to the buildpack's [DefaultVersion]. Specifying a version [ ] : a space seperated list of the packages you want to install. If not specified, the buildpack defaults to detecting the main packages in the code base. Generally speaking this should be sufficient for most users. If this isn't what you want you can instruct the buildpack to only build certain packages via this option. Other common choices are: ./cm","default_branch":null,"files":null,"tree":[],"storefront":"/r/heroku","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heroku/heroku-buildpack-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}