# Functions
The -exclude=path@version and -dropexclude=path@version flags add and drop an exclusion for the given module path and version.
The -dropreplace=old[@v] flag drops a replacement of the given module path and version pair.
The -require=path@version and -droprequire=path flags add and drop a requirement on the given module path and version.
Edit provides a command-line interface for editing go.mod, for use primarily by tools or scripts.
Edit provides a command-line interface for editing go.mod, for use primarily by tools or scripts.
The -exclude=path@version and -dropexclude=path@version flags add and drop an exclusion for the given module path and version.
reformats the go.mod file without making other changes.
sets the expected Go language version.
prints the final go.mod file in JSON format instead of writing it back to go.mod.
changes the module's path (the go.mod file's module line).
prints the final go.mod in its text format instead of writing it back to go.mod.
The -replace=old[@v]=new[@v] flag adds a replacement of the given module path and version pair.
The -require=path@version and -droprequire=path flags add and drop a requirement on the given module path and version.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author