Skip to content

fix: resolve errcheck lint errors #7

fix: resolve errcheck lint errors

fix: resolve errcheck lint errors #7

Triggered via push December 22, 2024 09:19
Status Failure
Total duration 5m 41s
Billable time 6m
Artifacts

go-ci.yml

on: push
Build Binary
0s
Build Binary
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

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