3 ms·
Forget that. There's example code in the standard library documentation that golint will flag. Seriously. And the devs don't give a fig, even though the "proper
by fredch 8y ago
Forget that. There's example code in the standard library documentation that golint will flag. Seriously. And the devs don't give a fig, even though the "proper" way forces you to put some throwaway variable outside the if statement scope.
Golint literally suggests scope pollution. It deserves to be replaced.