Merge pull request #126 from khareyash05/codeowner #121
Annotations
2 errors and 11 warnings
golangci-lint:
fasthttp-postgres/internal/app/app.go#L26
Error return value of `db.Close` is not checked (errcheck)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint:
fasthttp-postgres/internal/entity/model.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
fasthttp-postgres/internal/repository/statements.go#L6
var-naming: const getBookById should be getBookByID (revive)
|
golangci-lint:
fasthttp-postgres/internal/repository/statements.go#L10
var-naming: const getBooksByAuthorId should be getBooksByAuthorID (revive)
|
golangci-lint:
fasthttp-postgres/internal/repository/repository.go#L52
var-naming: method GetBookById should be GetBookByID (revive)
|
golangci-lint:
fasthttp-postgres/internal/repository/repository.go#L70
var-naming: method GetBooksByAuthorId should be GetBooksByAuthorID (revive)
|
golangci-lint:
fasthttp-postgres/internal/repository/model.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
fasthttp-postgres/internal/handlers/handler.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
fasthttp-postgres/internal/handlers/handler.go#L50
var-naming: method GetBookById should be GetBookByID (revive)
|
golangci-lint:
fasthttp-postgres/internal/handlers/handler.go#L51
var-naming: var bookId should be bookID (revive)
|
golangci-lint:
fasthttp-postgres/internal/handlers/handler.go#L65
var-naming: method GetBooksByAuthorId should be GetBooksByAuthorID (revive)
|
Loading