Unnecessary block

CRT-A0008
Anti-pattern
Major
8 months ago 4 years old
Seen in 5 files
7

Potential issue in filepath.Join() function calls

GO-W4001
Anti-pattern
Major
8 months ago 2 years old
Seen in 1 file
1

Simplify if statement for single bool judgment

GO-R1004
Anti-pattern
Minor
4 months ago 2 years old
Seen in 4 files
9

Empty slice literal used to declare a variable

GO-W1027
Anti-pattern
Minor
5 months ago 2 years old
Seen in 15 files
26

Use http.NoBody instead of nil in http.NewRequest calls

GO-R4001
Anti-pattern
Major
a month ago a year old
Seen in 1 file
1

String concatenation can be simplified

GO-R4003
Anti-pattern
Major
8 months ago a year old
Seen in 4 files
8

Use %q to quote a string in fmt.Sprintf format specifiers

GO-R4002
Anti-pattern
Minor
8 months ago a year old
Seen in 1 file
1

Empty string test can be improved

CRT-A0004
Anti-pattern
Major
21 hours ago 4 years old
Seen in 45 files
70

Exported function returning value of unexported type

RVV-B0011
Anti-pattern
Major
8 months ago 4 years old
Seen in 4 files
4

Function with cyclomatic complexity higher than threshold

GO-R1005
Anti-pattern
Minor
4 days ago 10 months old
Seen in 56 files
93

Exit inside non-main function

RVV-A0003
Anti-pattern
Major
8 months ago 3 years old
Seen in 27 files
40

Functions prefixed with Get should return a value

RVV-A0006
Anti-pattern
Major
3 months ago 3 years old
Seen in 29 files
132

Usage of both value and pointer receivers

GO-W1029
Anti-pattern
Major
21 hours ago 2 years old
Seen in 8 files
29

Using a deprecated function, variable, constant or field

GO-W1009
Anti-pattern
Major
8 months ago 2 years old
Seen in 1 file
3