Tim3088/dev #65
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
|