commands.sh

go tool

all

Run a Go tool or command. Execute a Go command as a stand-alone binary, typically for debugging.

More info →

Examples (5)

List available tools

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

View documentation for a specified tool

List all available cross-compilation targets

go tool dist list
made by @shridhargupta | data from tldr-pages