go-tool
Run a specific Go tool or command.
TLDR
List available tools
$ go tool
Run the go link tool
$ go tool link [path/to/main.o]
Print the command that would be executed, but do not execute it (similar to whereis)
$ go tool -n [command] [arguments]
Display documentation for a specified tool
$ go tool [command] --help
SYNOPSIS
go tool [ā-nā] command [ args... ]
DESCRIPTION
Tool runs the go tool command identified by the arguments. With no arguments it prints the list of known tools.
OPTIONS
- -n
-
The -n flag causes tool to print the command that would be executed but not execute it.
For more about each tool command, see 'go tool command -h'.
AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).