Skip to content

Tim3088/dev

Tim3088/dev #65

Triggered via pull request November 26, 2024 04:49
Status Failure
Total duration 51s
Billable time 1m
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: app/services/lostAndFoundService/get.go#L16
unexported-naming: the symbol Type is local, its name should start with a lowercase letter (revive)
lint: app/services/lostAndFoundService/get.go#L21
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: app/services/lostAndFoundService/get.go#L33
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: app/services/lostAndFoundService/get.go#L40
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: app/services/lostAndFoundService/get.go#L63
empty-lines: extra empty line at the end of a block (revive)
lint: app/services/lostAndFoundService/update.go#L9
flag-parameter: parameter 'isApproved' seems to be a control flag, avoid control coupling (revive)
lint: app/services/lostAndFoundService/update.go#L10
bool-literal-in-expr: omit Boolean literal in expression (revive)
lint: app/services/lostAndFoundService/update.go#L11
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
lint: app/services/lostAndFoundService/update.go#L14
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
lint
issues found