Found time.Now().Sub(t)
instead of time.Since(t)
SCC-S1012
Anti-pattern
Major
1
Found non-idiomatic returning of boolean expression
SCC-S1008
Anti-pattern
Major
1
Replace call to bytes.Compare
with bytes.Equal
SCC-S1004
Anti-pattern
Major
1
Found for
loop instead of append
SCC-S1011
Anti-pattern
Major
1
Replace for
loop with call to copy
for slice
SCC-S1001
Anti-pattern
Major
1
Drop unnecessary use of the blank identifier
SCC-S1005
Anti-pattern
Major
1
Bind to all interfaces
GSC-G102
Security
Major
1
Simplify error
construction with fmt.Errorf
SCC-S1028
Anti-pattern
Major
1
A function argument is overwritten before its first use
SCC-SA4009
Bug risk
Major
1
Unused code
SCC-U1000
Bug risk
Major
9