Skip to content

Fix linter rename goerr113 to err113 #432

Fix linter rename goerr113 to err113

Fix linter rename goerr113 to err113 #432

Triggered via push May 7, 2024 18:16
Status Failure
Total duration 1m 0s
Artifacts
build-and-publish
51s
build-and-publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-and-publish: admin/entities/messages.go#L26
Magic number: 2, in <argument> detected (gomnd)
build-and-publish: admin/entities/messages.go#L27
Magic number: 2, in <condition> detected (gomnd)
build-and-publish: usecases/product/service_product.go#L176
Magic number: 404, in <argument> detected (gomnd)
build-and-publish: api/presenter/presenter.go#L30
Magic number: 400, in <argument> detected (gomnd)
build-and-publish: api/presenter/product/product.go#L54
Magic number: 500, in <argument> detected (gomnd)
build-and-publish: api/presenter/product/service.go#L33
Magic number: 500, in <argument> detected (gomnd)
build-and-publish: repositories/contentpg/common.go#L36
Magic number: 404, in <argument> detected (gomnd)
build-and-publish: repositories/contentpg/common.go#L38
Magic number: 404, in <argument> detected (gomnd)
build-and-publish: repositories/localstorage/common.go#L30
Magic number: 0o755, in <argument> detected (gomnd)
build-and-publish: repositories/localstorage/file.go#L8
Magic number: 0o444, in <argument> detected (gomnd)