go-tool
Run a Go tool or command. tldr-pages
On several platforms
Several platforms
Run a Go tool or command. Execute a Go command as a stand-alone binary, typically for debugging.
List available tools
go toolIdentifyRun the go link tool
go tool link path/to/main.oIdentifyPrint the command that would be executed, but do not execute it (similar to whereis)
go tool -n command argumentsIdentifyView documentation for a specified tool
go tool command --helpIdentifyList all available cross-compilation targets
go tool dist listIdentify