mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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>
golang.org/x/tools/refactor: libraries for refactoring tools.