Tools and Go's Performance
This lesson discusses the tools that make Go outshine other languages performance-wise.
We'll cover the following...
Other tools
The tools in the Go-toolset are partly shell-scripts; some are written in Go itself. They are implemented as commands for the go tool. Here, we discuss only a few of them. For more info, consult the docs.
go get
tool
It is the go-package manager tool, much like rubygems for the Ruby language. It is meant for installing go packages outside of the standard library, and it works with the source-code format of the package, which then has to be compiled and linked locally.
go vet
tool
It is a tool to report likely mistakes in the code. This command is followed by the name (or names) of the package(s) that have to be examined. It checks, for example, for useless assignments, consistency in the use of the Printf
function, unused function results, and so on. Not all problems reported are genuine, but it can find errors which the compilers did not catch.