Introduce go-makefile-maker #2
Annotations
10 errors
Checks:
main.go#L33
File is not properly formatted (goimports)
|
Checks:
cmd/digicert-issuer/main.go#L33
File is not properly formatted (goimports)
|
Checks:
cmd/doc-gen/main.go#L159
Error return value of `ast.NewPackage` is not checked (errcheck)
|
Checks:
cmd/doc-gen/main.go#L179
emptyStringTest: replace `len(line) == 0` with `line == ""` (gocritic)
|
Checks:
cmd/doc-gen/main.go#L256
typeSwitchVar: 5 cases can benefit from type switch with assignment (gocritic)
|
Checks:
cmd/doc-gen/main.go#L63
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(name, " ", "-", -1)` (gocritic)
|
Checks:
cmd/doc-gen/main.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(postDoc, "\"", "\\\"", -1)` (gocritic)
|
Checks:
cmd/doc-gen/main.go#L196
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(postDoc, "\\\"", "\"", -1)` (gocritic)
|
Checks:
cmd/doc-gen/main.go#L198
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(postDoc, "\n", "\\n", -1)` (gocritic)
|
Checks:
cmd/doc-gen/main.go#L199
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(postDoc, "\t", "\\t", -1)` (gocritic)
|