Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/tools/cmd/gorename: does not work on public functions and structs #30617
What version of Go are you using (
At this point gorename does what it does and we have no plans to make it do anything more. If there were actually a critical bug, we might fix it, but we don't plan to make gorename work in module mode, and we don't plan to add more features.
@ianthehat So golang basically had an unfinished rename tool right from the start? That's kinda sad to learn. :(
>This counts as a feature request (expanding the scope of its rename powers) not a bug. It was always a best effort tool that may take manual clean up when finished.
In any case, seeing as how the Go team is now focusing on the new gopls tool, I wish you all the best of luck with it and hope that you awesome guys can at least make it work like a standard renaming tool and not a best effort one.