go.nvim
go.nvim copied to clipboard
gomvp - refactor packages / rename module, early though
Hi,
i just created a little cli tool that helps refactoring/moving packages and renaming the module itself. It's literally just been released, but i figured you might be interested in adding that to go.nvim regardless.
https://github.com/abenz1267/gomvp
See here: https://drive.google.com/file/d/1GRDP6P5zhFADyiDlQVUWZMhPTrujHYQ5/view?usp=sharing
Regards
Does the tool move all reference in the workspace and maybe .mod/sum from url_for_package_a to url_for_backage_b if I run gomvp url_for_package_a url_for_package_a
It does indeed!
+1
I added a new command Gomvp
gopls just released a new version with experimental package renaming. https://github.com/golang/tools/releases
so i might deprecate gomvp in the near future.