fix(HMS-2933): Improve some HTTP error codes #3122
gotest.yml
on: pull_request
💬 Commit checks
28s
🛠 Go Build
24s
🏢 Code format & OpenAPI lint
26s
🏫 Go linter
35s
🏅 Unit tests
1m 54s
🏆 Integration tests
1m 44s
Annotations
11 errors
🏢 Code format & OpenAPI lint
Process completed with exit code 2.
|
🏫 Go linter:
internal/middleware/id_validation.go#L9
File is not `gofumpt`-ed (gofumpt)
|
🏫 Go linter:
internal/middleware/id_validation_test.go#L3
File is not `gofumpt`-ed (gofumpt)
|
🏫 Go linter:
internal/middleware/id_validation_test.go#L5
File is not `gofumpt`-ed (gofumpt)
|
🏫 Go linter:
internal/middleware/id_validation_test.go#L4
File is not `goimports`-ed (goimports)
|
🏫 Go linter:
internal/middleware/id_validation.go#L14
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
🏫 Go linter:
internal/middleware/id_validation.go#L20
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
🏫 Go linter:
internal/middleware/id_validation.go#L24
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
🏫 Go linter:
internal/middleware/id_validation_test.go#L11
require-error: for error assertions use require (testifylint)
|
🏫 Go linter:
internal/middleware/id_validation_test.go#L15
require-error: for error assertions use require (testifylint)
|
🏫 Go linter
issues found
|