liveBook · Manning

Go command

The go command is Go’s standard command-line interface for compiling, building, testing, formatting, analyzing, and managing Go programs and dependencies.

How 2 Manning books explain it

Go in Practice, Second Edition

The go tool is Go's command-line tool for compiling and performing other standard development tasks.

How it is used
Provides one command-line toolchain for building packages and handling routine development tasks.
How deep it goes
Shows task-level commands, test output, coverage, and cross-compilation settings; does not descend into compiler internals.
Examples
Uses a failing name-reversal test, a coverage report, and a Windows 386 build command.
What you can do after
Operate/configure it to test and measure Go code, manage dependencies, format code, and build for another platform.

Read how Go in Practice, Second Edition explains go command →

Learn Go with Pocket-Sized Projects

Go tooling is the integrated suite of Go development tools for formatting, linting, testing, benchmarking, building, and execution.

How it is used
Coordinates executable production, unit testing, benchmarking, and fuzzing during Go development.
How deep it goes
Explains the toolchain’s roles and testing capabilities but stops short of command syntax or implementation internals.
Examples
Uses executable builds, unit tests, algorithm benchmarks, commit-level performance checks, and randomized fuzz inputs.
What you can do after
Evaluate Go implementations with tests, compare performance with the built-in bench command, and probe behavior with fuzzing.

Read how Learn Go with Pocket-Sized Projects explains go command →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.