Currently, as documented, gorename fails if it would cause an edit to an autogenerated file: - detect and reject edits to autogenerated files (cgo, protobufs) There are times when refactoring code where such an edit is necessary. This CL enables such edits if Force is set (which corresponds to gorename -force). Change-Id: If21249ae50d61fb5b59ee6e1ecf7157aaae0260a Reviewed-on: https://go-review.googlesource.com/118975 Reviewed-by: Alan Donovan <adonovan@google.com> |
||
---|---|---|
.. | ||
eg | ||
importgraph | ||
rename | ||
satisfy | ||
README |
README
golang.org/x/tools/refactor: libraries for refactoring tools.