Skip to content

Linting.

Linting. #8

Triggered via push February 16, 2024 07:15
Status Failure
Total duration 15s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cmd/Chapter18/Activity18.02/main_test.go#L16
SA1019: pool.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots. (staticcheck)
lint: cmd/Chapter07/Activity07.01/main_test.go#L35
unusedresult: result of fmt.Errorf call not used (govet)
lint: cmd/Chapter07/Activity07.01/main_test.go#L61
unusedresult: result of fmt.Errorf call not used (govet)
lint: cmd/Chapter07/Activity07.01/main_test.go#L93
unusedresult: result of fmt.Errorf call not used (govet)
lint: cmd/Chapter14/Activity14.01/server/server.go#L31
Error return value of `w.Write` is not checked (errcheck)
lint: cmd/Chapter14/Activity14.02/solution/solution.go#L8
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)
lint: cmd/Chapter14/Activity14.01/solution/solution.go#L6
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)
lint: cmd/Chapter14/Activity14.02/server/server.go#L34
Error return value of `wr.Write` is not checked (errcheck)
lint: cmd/Chapter14/Activity14.02/server/server.go#L56
Error return value of `wr.Write` is not checked (errcheck)
lint: cmd/Chapter03/Example03.02/main.go#L12
SA4010: this result of append is never used, except maybe in other appends (staticcheck)