DOKK / manpages / debian 12 / golang-go / go-fix.1.en
GO-FIX(1) General Commands Manual GO-FIX(1)

go-fix - update packages to use new APIs

go fix [packages]

Fix runs the Go fix command on the packages named by the import paths.

The -fix flag sets a comma-separated list of fixes to run. The default is all known fixes. (Its value is passed to ‘go tool fix -r’.)

For more about fix, see ‘go doc cmd/fix’.
For more about specifying packages, see go-packages(7).

To run fix with other options, run ‘go tool fix’.

go-fmt(1), go-vet(1).

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 fix’ for the Debian project (and may be used by others).

2022-03-15