Don't use bufio.Scanner to read the log #3
static-check.yml
on: pull_request
staticcheck (project)
45s
Annotations
10 errors
staticcheck (project):
analyzer.go#L7
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
|
staticcheck (project):
http.go#L8
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
|
staticcheck (project):
main.go#L49
var defaultNameTemplate is unused (U1000)
|
staticcheck (project):
main.go#L303
error strings should not be capitalized (ST1005)
|
staticcheck (project):
main.go#L317
error strings should not end with punctuation or newlines (ST1005)
|
staticcheck (project):
main.go#L321
error strings should not be capitalized (ST1005)
|
staticcheck (project):
main.go#L382
error strings should not be capitalized (ST1005)
|
staticcheck (project):
main.go#L404
error strings should not be capitalized (ST1005)
|
staticcheck (project):
main.go#L463
error strings should not be capitalized (ST1005)
|
staticcheck (project):
main.go#L548
error strings should not be capitalized (ST1005)
|