fix: resolve errcheck lint errors #7
Annotations
10 errors and 1 warning
Test & Lint:
server/processing/processor.go#L125
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/server.go#L372
func `main` is unused (unused)
|
Test & Lint:
server/middleware/request_id.go#L22
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/handlers/completion.go#L345
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/handlers/completion.go#L346
SA4006: this value of `r` is never used (staticcheck)
|
Test & Lint:
server/processing/processor.go#L125
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/server.go#L372
func `main` is unused (unused)
|
Test & Lint:
server/middleware/request_id.go#L22
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/handlers/completion.go#L345
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Test & Lint:
server/handlers/completion.go#L346
SA4006: this value of `r` is never used (staticcheck)
|
Test & Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|