GO-FMT(1) | General Commands Manual | GO-FMT(1) |
go-fmt - gofmt (reformat) package sources
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 ‘go doc cmd/gofmt’.
For more about specifying packages, see go-packages(7).
To run gofmt with specific options, run gofmt itself.
This manual page was written by Michael Stapelberg <stapelberg@debian.org> and is maintained by the Debian Go Compiler Team <team+go-compiler@tracker.debian.org> based on the output of ‘go help fmt’ for the Debian project (and may be used by others).
2022-03-15 |