The Go toolchain is an umbrella term that refers to the Go CLI and its commands, as go run, go build, go test, and so on. Use this tag for questions related to the usage of these commands. For questions specifically related to the go mod command, you may also use [go-modules] tag.
The Go toolchain is the set of commands supported by the go
command line interface. It is developed and maintained as part of the Go programming language itself, and is part of the official Go distribution.
The full documentation can be found here: https://pkg.go.dev/cmd/go.
Some of the most frequently used commands are:
go get
to fetch, update and/or install dependenciesgo build
to compile Go programs and build binariesgo test
to run unit testsgo mod
to initialize, organize and maintain Go modulesgo vet
to run static analysis