Go
Detection
Go applications are detected when the application contains at least one of the following:
- A
go.modat the root of the project - A
Godeps/Godeps.jsonfile which identifies the application as being managed bygodep - A
vendor/vendor.jsonfile which identifies the application as being managed bygovendor - A
srcdirectory with subdirectories contains one or more.gofiles which identifies the application as being managed bygb.
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.