go
programming language
TLDR
Download and install a package, specified by its import path
Compile and run a source file (it has to contain a main package)
Compile a source file into a named executable
Compile the package present in the current directory
Execute all test cases of the current package (files have to end with _test.go)
Compile and install the current package
Initialize a new module in the current directory
SYNOPSIS
go command [arguments]
DESCRIPTION
The Go distribution includes a command, named go, that automates the downloading, building, installation, and testing of Go packages and commands.
COMMANDS
Each command is documented in its own manpage. For example, the build command is documented in go-build(1). The commands are:
- build
-
compile packages and dependencies
- clean
-
remove object files
- doc
-
run godoc on package sources
- env
-
print Go environment information
- fix
-
run go tool fix on packages
- fmt
-
run gofmt on package sources
- get
-
download and install packages and dependencies
- install
-
compile and install packages and dependencies
- list
-
list packages
- run
-
compile and run Go program
- test
-
test packages
- tool
-
run specified go tool
- version
-
print Go version
- vet
-
run go tool vet on packages
EXAMPLES
TODO
SEE ALSO
AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).