We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code is iterating, grabbing the wanted value, then breaking:
for n, res := range r.Moq.ResultsByParams_XXX { if res.AnyParams == r.AnyParams { results = &res break } if res.AnyCount > anyCount { insertAt = n } }
Could use the index to avoid the linter issue:
for n, res := range r.Moq.ResultsByParams_XXX { if res.AnyParams == r.AnyParams { results = &r.Moq.ResultsByParams_XXX[n] break } if res.AnyCount > anyCount { insertAt = n } }
The text was updated successfully, but these errors were encountered:
Also triggers exportloopref linter
Sorry, something went wrong.
No branches or pull requests
Code is iterating, grabbing the wanted value, then breaking:
Could use the index to avoid the linter issue:
The text was updated successfully, but these errors were encountered: