Omit comparison with boolean constant SCC-S1002 × 1
Value assigned to a variable is never read before being overwritten
SCC-SA4006
Bug risk
Critical
1
Unsafe defer of .Close
method
GO-S2307
Security
Major
6
Function call made to an unsafe
package
GSC-G103
Security
Minor
5
Omit comparison with boolean constant
SCC-S1002
Anti-pattern
Minor
1
Non-idiomatic comment formatting
GO-C4004
Style
Minor
9