Skip to content

First implementation for two endpoints. #3

First implementation for two endpoints.

First implementation for two endpoints. #3

Triggered via pull request September 9, 2024 11:03
@sgmvsgmv
synchronize #1
arch-skeleton
Status Failure
Total duration 57s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/app/handlers.go#L152
Error return value of `c.AbortWithError` is not checked (errcheck)
lint: internal/app/middleware.go#L32
Error return value of `c.AbortWithError` is not checked (errcheck)
lint: internal/app/middleware.go#L34
Error return value of `c.AbortWithError` is not checked (errcheck)
lint: internal/db/db.go#L81
empty-block: this block is empty, you can remove it (revive)
lint: internal/app/middleware.go#L12
unnecessary leading newline (whitespace)
lint: internal/app/middleware.go#L40
unnecessary leading newline (whitespace)
lint: internal/app/errors.go#L11
the type name `ErrorMsg` should conform to the `XxxError` format (errname)
lint: internal/app/handlers_test.go#L18
testApp is a global variable (gochecknoglobals)
lint: internal/app/handlers_test.go#L19
mock is a global variable (gochecknoglobals)
lint: internal/db/mock.go#L10
ST1003: var mockDb should be mockDB (stylecheck)