Provided by: golang-go_1.2.1-2ubuntu1_amd64
go - tool for managing Go source code
go fmt [-n] [-x] [ packages ]
Fmt runs the command 'gofmt -l -w' on the packages named by the import paths. It prints the names of the files that are modified. For more about gofmt, see 'godoc gofmt'. For more about specifying packages, see go-packages(7). To run gofmt with specific options, run gofmt itself.
-n The -n flag causes tool to print the command that would be executed but not execute it. -x The -x flag causes clean to print remove commands as it executes them.
This manual page was written by Michael Stapelberg <email@example.com>, for the Debian project (and may be used by others). 2012-06-15 GO-FMT(1)