var CmdTool … var toolN … // Return whether tool can be expected in the gccgo tool directory. // Other binaries could be in the same directory so don't // show those with the 'go tool' command. func isGccgoTool(tool string) bool { … } func init() { … } func runTool(ctx context.Context, cmd *base.Command, args []string) { … } // listTools prints a list of the available tools in the tools directory. func listTools() { … } func impersonateDistList(args []string) (handled bool) { … }