Re:Delve: a debugger for Go, written in Go
by NateDad on Wednesday November 12, 2014 @11:53AM
(#8596543)
As others have said, gorename does the type-safe renaming... it's relatively new, so it's understandable that you may not have heard of it.
Moving a file doesn't really make any sense in Go. Files are not units of code that you'd move... I presume you mean moving an exported type from one package to another. I don't believe that gorename can do that right now, but it seems like it would be pretty easy to add to gorename.
Moving a file doesn't really make any sense in Go. Files are not units of code that you'd move... I presume you mean moving an exported type from one package to another. I don't believe that gorename can do that right now, but it seems like it would be pretty easy to add to gorename.