fix
packagestandard library go1.25.5
Go to latest Published: Dec 2, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:11 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package fix implements the “go fix” command.
Index¶
Constants¶
This section is empty.
Variables¶
View Source
var CmdFix = &base.Command{UsageLine: "go fix [-fix list] [packages]",Short: "update packages to use new APIs",Long: `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 help packages'.To run fix with other options, run 'go tool fix'.See also: go fmt, go vet.`,}Functions¶
This section is empty.
Types¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.