Skip to content

Implement HTTP transport using SSE, Protocol 2024-11-05 (Final) #4

Implement HTTP transport using SSE, Protocol 2024-11-05 (Final)

Implement HTTP transport using SSE, Protocol 2024-11-05 (Final) #4

Re-run triggered March 27, 2025 17:40
Status Failure
Total duration 42s
Artifacts

go-lint.yml

on: pull_request
Run golangci-lint
29s
Run golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run golangci-lint: pkg/transport/http.go#L46
Error return value of `resp.Body.Close` is not checked (errcheck)
Run golangci-lint: pkg/transport/http.go#L78
Error return value of `fmt.Errorf` is not checked (errcheck)
Run golangci-lint: pkg/transport/http.go#L125
Error return value of `resp.Body.Close` is not checked (errcheck)
Run golangci-lint: pkg/transport/http.go#L148
Error return value of `fmt.Errorf` is not checked (errcheck)
Run golangci-lint: pkg/transport/http.go#L149
exitAfterDefer: os.Exit will exit, and `defer resp.Body.Close()` will not run (gocritic)
Run golangci-lint: pkg/transport/http.go#L51
shadow: declaration of "err" shadows declaration at line 31 (govet)
Run golangci-lint: pkg/client/client.go#L36
var-naming: func NewHttp should be NewHTTP (revive)
Run golangci-lint: pkg/transport/http.go#L1
package-comments: should have a package comment (revive)
Run golangci-lint: pkg/transport/http.go#L17
var-naming: type Http should be HTTP (revive)
Run golangci-lint: pkg/transport/http.go#L28
var-naming: func NewHttp should be NewHTTP (revive)