8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Early returns help to reduce nesting levels. I wonder how much effort is it to implement with staticcheck.io. Examples are:
unwanted:
for _, v := range x { if condition { // do stuff } }
wanted:
for _, v := range x { if negatedCondition { continue } // do stuff }