4 ms·
Go, command line: $ gorename -from '"my-package".myFunc' -to myRenamedFunc
by mikojan 4y ago
Go, command line:
$ gorename -from '"my-package".myFunc' -to myRenamedFunc
- tommica 4y agoThat's amazing!
- nomel 4y agoI would say that’s a fairly trivial example. How about renaming a method? Or, moving a class to a different file?
- 8ytecoder 4y agoOr reordering parameters.
- likely_harrison 4y agogofmt can do that! What I’m still looking for is an easy way to bubble up go contexts, adding as first pagans. Perhaps IntelliJ is useful here?
- wruza 4y agoAll this fiddling ends when you get a team and a vcs.