Found redundant
nil
check on slice SCC-S1009 × 1Replace call to
strings.Index
with strings.Contains
SCC-S1003 × 1Found manually copying of struct fields SCC-S1016 × 10
Unused parameter in function RVV-B0012 × 2
Unused method receiver RVV-B0013 × 3
Function literal can be simplified CRT-A0018 × 1
Empty slice literal used to declare a variable GO-W1027 × 12
1 Warning
Value assigned to a variable is never read before being overwritten
SCC-SA4006
Bug risk
Critical
2
Lock erroneously passed by value
VET-V0008
Bug risk
Critical
18
Poorly formed nilness guards
GO-E1008
Bug risk
Critical
3
Inappropriate usage of t.Parallel()
method
GO-W6007
Bug risk
Critical
92
Comparing unsigned values against negative values is pointless
SCC-SA4003
Bug risk
Major
9
Found redundant nil
check on slice
SCC-S1009
Anti-pattern
Major
1
Replace call to strings.Index
with strings.Contains
SCC-S1003
Anti-pattern
Major
1
Found manually copying of struct fields
SCC-S1016
Anti-pattern
Major
10
Storing non-pointer values in sync.Pool
allocates memory
SCC-SA6002
Performance
Major
1
A function argument is overwritten before its first use
SCC-SA4009
Bug risk
Major
1