Update Go actions #19
Annotations
6 errors
golangci:
pkg/goodhosts/hostsFile.go#L86
emptyStringTest: replace `len(h.Section) > 0` with `h.Section != ""` (gocritic)
|
golangci:
pkg/goodhosts/hostsFile.go#L92
emptyStringTest: replace `len(h.Section) > 0` with `h.Section != ""` (gocritic)
|
golangci:
pkg/goodhosts/hostsFile.go#L215
emptyStringTest: replace `len(h.Section) > 0` with `h.Section != ""` (gocritic)
|
golangci:
pkg/goodhosts/hostsFile.go#L194
emptyStringTest: replace `len(line.Comment) > 0` with `line.Comment != ""` (gocritic)
|
golangci:
pkg/goodhosts/utils.go#L25
emptyStringTest: replace `len(comment) > 0` with `comment != ""` (gocritic)
|
golangci
issues found
|