2 name: 💢 False positive in staticcheck
3 about: Your code is fine but staticcheck complains about it, anyway.
4 labels: false-positive, needs-triage
8 Please make sure to include the following information in your issue report:
10 - The output of 'staticcheck -version'
11 - The output of 'staticcheck -debug.version' (it is fine if this command fails)
12 - The output of 'go version'
13 - The output of 'go env'
14 - Exactly which command you ran
15 - Output of the command and what's wrong with the output
16 - Where we can read the code you're running staticcheck on
17 (GitHub repo, link to playground, code embedded in the issue, ...)