fix(client): keep ref to resp to avoid conn closed #47
pr-check.yml
on: pull_request
compliant
32s
golangci-lint
47s
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)
|