The Golang build feature enables the real-time reporting and history of Go test results in TeamCity.
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.
Last modified: 23 September 2021