There is a suite of programs to build and process Go source code.
Instead of being run directly, programs in the suite are usually invoked
by the go program.
The most common way to run these programs is as a subcommand of the go program,
for instance as go fmt. Run like this, the command operates on
complete packages of Go source code, with the go program invoking the
underlying binary with arguments appropriate to package-level processing.
The programs can also be run as stand-alone binaries, with unmodified arguments,
using the go tool subcommand, such as go tool cgo.
For most commands this is mainly useful for debugging.
Some of the commands, such as pprof, are accessible only through
the go tool subcommand.
go tool cgo
Finally the fmt and godoc commands are installed
as regular binaries called gofmt and godoc because
they are so often referenced.
Click on the links for more documentation, invocation methods, and usage details.
"go test -coverprofile"
This is an abridged list. See the full command reference
for documentation of the compilers and more.