3 ms·
As others pointed out, Go actually has some tooling for that, in the form of "go fmt" and "go fix". Still, it only works for refactorings simple enough to be a
by icebraining 10y ago
As others pointed out, Go actually has some tooling for that, in the form of "go fmt" and "go fix".
Still, it only works for refactorings simple enough to be applied automatically, which on the other hand are the simplest to maintain compatibility with (writing a stub with the old name/arguments that calls the new function).