package
0.0.0-20220218190644-4958d6d39439
Repository: https://github.com/jhump/golang-x-tools.git
Documentation: pkg.go.dev
# Functions
ApplyFixes applies all of the fixes to the file and formats it.
FixImports returns a list of fixes to the imports that, when applied, will leave the imports in the same state as Process.
GetAllCandidates calls wrapped for each package whose name starts with searchPrefix, and can be imported from filename with the package name filePkg.
GetImportPaths calls wrapped for each package whose import path starts with searchPrefix, and can be imported from filename with the package name filePkg.
GetPackageExports returns all known packages with name pkg and their exports.
ImportPathToAssumedName returns the assumed package name of an import path.
No description provided by the author
Process implements golang.org/x/tools/imports.Process with explicit context in opt.Env.
No description provided by the author
VendorlessPath returns the devendorized version of the import path ipath.
# Constants
No description provided by the author
No description provided by the author
MaxRelevance is the highest relevance, used for the standard library.
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
An ImportInfo represents a single import statement.
ModuleResolver implements resolver for modules using the go command as little as feasible.
Options is golang.org/x/tools/imports.Options with extra internal-only options.
A PackageExport is a package and its exports.
ProcessEnv contains environment variables and settings that affect the use of the go command, the go/build package, etc.
# Interfaces
A Resolver does the build-system-specific parts of goimports.
# Type aliases
No description provided by the author