mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Attempt to update doc comments when renaming an identifier. This reduces the amount of manual steps that need to be taken when using gorename. All occurrences of the old identifier are updated in the doc. The update is done using a regex to ensure that we replace whole word matches only. Fixes golang/go#17994 Change-Id: I4265021b5b34cf7d70bf43ad6ceee74ec132f185 Reviewed-on: https://go-review.googlesource.com/33452 Reviewed-by: Alan Donovan <adonovan@google.com>
golang.org/x/tools/refactor: libraries for refactoring tools.