4 ms·
For migrating, I wonder if there are any tools that could, let's say, go through your codebase and add a "// TODO - check" to every place that might be affected
by orblivion 3y ago
For migrating, I wonder if there are any tools that could, let's say, go through your codebase and add a "// TODO - check" to every place that might be affected.
- deleted 3y ago[deleted]
- tgv 3y agoI think there's a linter for it, perhaps more than one, in golangci-lint. It might be exportloopref and/or loopclosure.
- Cthulhu_ 3y agoI know for previous code changes they had a tool that would just do a find & replace for you. But you're describing a linter, which just outputs a line on your terminal with a warning; I wouldn't want a tool like that to add churn and tasks to my codebase (even though I'm guilty of adding TODOs myself and leaving them for years because ultimately they're not important enough)
- orblivion 3y agoWell automatic changes would be even better I just assumed that a tool can't infer your intentions well enough for this one.