Documentation ¶
Overview ¶
Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/refactor/rename. See that package for the command documentation.
Index ¶
Constants ¶
View Source
const FromFlagUsage = `` /* 916-byte string literal not displayed */
Variables ¶
View Source
var ( // Force enables patching of the source files even if conflicts were reported. // The resulting program may be ill-formed. // It may even cause gorename to crash. TODO(adonovan): fix that. Force bool // DryRun causes the tool to report conflicts but not update any files. DryRun bool // ConflictError is returned by Main when it aborts the renaming due to conflicts. // (It is distinguished because the interesting errors are the conflicts themselves.) ConflictError = errors.New("renaming aborted due to conflicts") // Verbose enables extra logging. Verbose bool )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.