[go-nuts] Re: Exporting and renaming

2019-05-04 Thread Louki Sumirniy
The rename tool is great, but be aware that it doesn't work if the compiler encounters even one error anywhere in the project. If the code is already complete and runs fine, rename works just fine, and is more selective than a blanket S The rename tool parses the code into an AST, so it fully

[go-nuts] Re: Exporting and renaming

2019-05-03 Thread michael . f . ellis
Oops, meant to type GoRename instead of GoVet On Friday, May 3, 2019 at 4:05:59 PM UTC-4, michae...@gmail.com wrote: > > Thanks, Tamás. That worked. Still a bit tedious since GoVet was taking > about 6 seconds to rename all the instances of each struct field. But it's > done now. > > On

[go-nuts] Re: Exporting and renaming

2019-05-03 Thread michael . f . ellis
Thanks, Tamás. That worked. Still a bit tedious since GoVet was taking about 6 seconds to rename all the instances of each struct field. But it's done now. On Friday, May 3, 2019 at 3:58:34 PM UTC-4, Tamás Gulácsi wrote: > > Rename the struct fields first, then move it to its own package.