With the Golang feature enabled for a build configuration, you can build Golang projects and run Go tests.
Before running builds, make sure a Go compiler is installed on an agent.
To enable Go tests reporting in TeamCity, run them with the
-json flag using one of these two methods:
Add this flag to the Command Line build runner's script:
go test -json.
env.GOFLAGS = -jsonparameter to the build configuration.