News for hackers. Stuff that matters.
Re:What gofmt -r can do for you by 255martyn on Monday March 11, 2013 @04:26AM (#5355512)
This is great. I want a tool like this for other languages.
Re:What gofmt -r can do for you by rartichoke on Monday March 11, 2013 @09:53AM (#5356646)
I don't get it, isn't it doing a basic find/replace that is available in any reasonable editor?
Re:What gofmt -r can do for you by cjh_ on Tuesday March 12, 2013 @12:04AM (#5360077)
It is doing something a little smarter than that, as gofmt understands the language it is parsing it rather than just a textual find/replace.

The interesting thing here is that you can make your other tools use this, it makes writing tools around go a lot easier.

Re:What gofmt -r can do for you by rartichoke on Tuesday March 12, 2013 @09:04AM (#5361523)
Yeah I know what gofmt does, it's useful for code formatting and getting you 95% of the way there on api changes but in the slide presentation linked above he mostly just replaces method names and things of that nature.