Original post

Go has a brilliant built in testing package, which although it is quite raw, it is very powerful. It also has the ability to show the test coverage as a percentage of the code base. Which is very useful to get perspective of a project and to know perhaps which areas need improvement.
You can see the test coverage by using the -coverprofile parameter on the test command.
go test -coverprofile cp.