4 ms·
Note that Go comes with a powerful refactoring tool "out of the box": http://golang.org/cmd/gofmt/ http://golang.org/cmd/gofmt/ It allows easy renaming of var
by lazyjones 12y ago
Note that Go comes with a powerful refactoring tool "out of the box":
http://golang.org/cmd/gofmt/ http://golang.org/cmd/gofmt/
It allows easy renaming of variables, constants etc.
- pjmlp 12y agoDoes it also extract methods, convert fields into accessors, move code between packages while updating import statements, update comments that relate to code, move methods across types? Renaming is only Refactoring 101.