Skip to content

fix(client): keep ref to resp to avoid conn closed #47

fix(client): keep ref to resp to avoid conn closed

fix(client): keep ref to resp to avoid conn closed #47

Triggered via pull request November 27, 2024 06:12
Status Failure
Total duration 57s
Artifacts

pr-check.yml

on: pull_request
compliant
32s
compliant
golangci-lint
47s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: client.go#L74
Error return value of `c.SetDeadline` is not checked (errcheck)
golangci-lint: client_test.go#L45
Error return value of `conn.WriteMessage` is not checked (errcheck)
golangci-lint: compression.go#L39
Error return value of `(compress/flate.Resetter).Reset` is not checked (errcheck)
golangci-lint: compression_test.go#L33
Error return value of `w.Write` is not checked (errcheck)
golangci-lint: compression_test.go#L57
Error return value of `c.WriteMessage` is not checked (errcheck)
golangci-lint: compression_test.go#L70
Error return value of `c.WriteMessage` is not checked (errcheck)
golangci-lint: conn.go#L380
Error return value of `c.br.Discard` is not checked (errcheck)
golangci-lint: conn.go#L395
Error return value of `c.conn.SetWriteDeadline` is not checked (errcheck)
golangci-lint: conn.go#L405
Error return value of `c.writeFatal` is not checked (errcheck)
golangci-lint: conn.go#L468
Error return value of `c.conn.SetWriteDeadline` is not checked (errcheck)