fix(ci): fix ci fmt error #4
Annotations
10 errors
Run golangci-lint:
snap/snapshotter_test.go#L63
Error return value of `os.Mkdir` is not checked (errcheck)
|
Run golangci-lint:
snap/snapshotter_test.go#L43
Error return value of `os.Mkdir` is not checked (errcheck)
|
Run golangci-lint:
snap/snapshotter_test.go#L24
Error return value of `os.Mkdir` is not checked (errcheck)
|
Run golangci-lint:
snap/snapshotter.go#L43
Error return value of `s.save` is not checked (errcheck)
|
Run golangci-lint:
pkg/cors.go#L34
S1005: unnecessary assignment to the blank identifier (gosimple)
|
Run golangci-lint:
pkg/flag_test.go#L19
Error return value of `fs.Parse` is not checked (errcheck)
|
Run golangci-lint:
pkg/flag.go#L29
Error return value of `fs.Set` is not checked (errcheck)
|
Run golangci-lint:
client/http_test.go#L7
SA1019: "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. (staticcheck)
|
Run golangci-lint:
client/http.go#L7
SA1019: "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. (staticcheck)
|
Run golangci-lint:
client/http_test.go#L441
Error return value of `c.do` is not checked (errcheck)
|
Loading