Skip to content

Add golangci linter and test coverage #1

Add golangci linter and test coverage

Add golangci linter and test coverage #1

Triggered via push January 10, 2024 19:14
Status Failure
Total duration 52s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint: http/middlewares.go#L27
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L122
Error return value of `s.server.Shutdown` is not checked (errcheck)
Lint: http/server.go#L129
Error return value of `s.tmpl.Execute` is not checked (errcheck)
Lint: http/server.go#L181
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L191
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L199
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L223
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L230
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L238
Error return value of `w.Write` is not checked (errcheck)
Lint: http/server.go#L251
Error return value of `w.Write` is not checked (errcheck)
Lint: postgres/shrt.go#L7
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
Lint: postgres/client.go#L7
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
Lint: http/server.go#L305
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)