Skip to content

Linting.

Linting. #3

Triggered via push February 16, 2024 00:02
Status Failure
Total duration 12s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cmd/Chapter06/Exercise06.03/main.go#L14
ineffectual assignment to pay (ineffassign)
lint: cmd/Chapter06/Exercise06.03/main.go#L18
ineffectual assignment to pay (ineffassign)
lint: cmd/Chapter18/Examples/Example1/example_1_test.go#L70
Error return value is not checked (errcheck)
lint: cmd/Chapter18/Examples/Example1/example_1.go#L24
unreachable: unreachable code (govet)
lint: cmd/Chapter18/Examples/Example1/example_1.go#L41
unreachable: unreachable code (govet)
lint: cmd/Chapter15/Exercise15.07/main.go#L36
Error return value of `h.tpl.Execute` is not checked (errcheck)
lint: cmd/Chapter15/Exercise15.07/main_test.go#L34
Error return value of `rsp.Body.Read` is not checked (errcheck)
lint: cmd/Chapter15/Exercise15.07/main_test.go#L21
ineffectual assignment to err (ineffassign)
lint: cmd/Chapter15/Exercise15.07/main_test.go#L4
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/Exercise14.05/server/server.go#L16
Error return value of `w.Write` is not checked (errcheck)