go-fmt (1) - Linux Man Pages
go-fmt: tool for managing Go source code
go - tool for managing Go source code
SYNOPSISgo fmt [-n] [-x] [ packages ]
DESCRIPTIONFmt 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).
- The -n flag causes tool to print the command that would be executed but not execute it.
- The -x flag causes clean to print remove commands as it executes them.
This manual page was written by Michael Stapelberg <stapelberg [at] debian.org>, for the Debian project (and may be used by others).