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
I want to collect 10 or 100 real world bugs and try add it to golangci-lint
The text was updated successfully, but these errors were encountered:
FYI the example you are using:
for _, n := range ns { rs = append(rs, n) rs = append(rs, ns...) }
The 2 lines are wrong, in this context the right code is to remove the for:
for
rs = append(rs, ns...)
A better example could be:
for _, n := range ns { if v == "value" { rs = append(rs, n) // OK rs = append(rs, ns...) // Bug } }
Sorry, something went wrong.
No branches or pull requests
I want to collect 10 or 100 real world bugs and try add it to golangci-lint
TimeParse
RangeAppendAll
The text was updated successfully, but these errors were encountered: