toolsgolang.org/x/tools/refactor Directories

refactor/ directory

Directories

PathSynopsis
refactor/egPackage eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg.
refactor/importgraphPackage importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
refactor/renamePackage rename contains the obsolete implementation of the deleted golang.org/x/tools/cmd/gorename.
refactor/satisfyPackage satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed.
Version
v0.30.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Last checked
5 hours ago

Tools for package owners.