Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mikojan
3y ago
0 comments
Save
Share
Go, command line:
$ gorename -from '"my-package".myFunc' -to myRenamedFunc
0 comments
5 comments · 2 top-level
top
newest
oldest
nomel
3y ago
· 3 in thread
I would say that’s a fairly trivial example. How about renaming a method? Or, moving a class to a different file?
8ytecoder
3y ago
Or reordering parameters.
wruza
3y ago
All this fiddling ends when you get a team and a vcs.
likely_harrison
3y ago
gofmt 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?
tommica
3y ago
That's amazing!
j
/
k
navigate · click thread line to collapse