Build & Deploy
Go

Go

Detection

Go applications are detected when the application contains at least one of the following:

  • A go.mod at the root of the project
  • A Godeps/Godeps.json file which identifies the application as being managed by godep
  • A vendor/vendor.json file which identifies the application as being managed by govendor
  • A src directory with subdirectories contains one or more .go files which identifies the application as being managed by gb.

Runtime

By default, the Go version used to build your application is fetched from your dependency manager metadata file.

Depending on the dependency manager you use, you can specify the Go version by either updating the appropriate metadata file or setting the $GOVERSION environment variable.