feat:add client #36
Annotations
11 errors and 4 warnings
lint:
client_test.go#L151
func `newServerWithContext` is unused (unused)
|
lint:
client_test.go#L231
func `newServerDisconnect` is unused (unused)
|
lint:
client.go#L233
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint:
client_test.go#L166
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint
issues found
|
staticcheck:
client.go#L233
[staticcheck] reported by reviewdog 🐶
should use a simple channel send/receive instead of select with a single case
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use a simple channel send/receive instead of select with a single case","code":{"value":"S1000","url":"https://staticcheck.io/docs/checks#S1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-04/sse/sse/client.go","range":{"start":{"line":233,"column":3}}},"severity":"ERROR"}
|
staticcheck:
client_test.go#L151
[staticcheck] reported by reviewdog 🐶
func newServerWithContext is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func newServerWithContext is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-04/sse/sse/client_test.go","range":{"start":{"line":151,"column":6}}},"severity":"ERROR"}
|
staticcheck:
client_test.go#L166
[staticcheck] reported by reviewdog 🐶
should use a simple channel send/receive instead of select with a single case
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use a simple channel send/receive instead of select with a single case","code":{"value":"S1000","url":"https://staticcheck.io/docs/checks#S1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-04/sse/sse/client_test.go","range":{"start":{"line":166,"column":3}}},"severity":"ERROR"}
|
staticcheck:
client_test.go#L231
[staticcheck] reported by reviewdog 🐶
func newServerDisconnect is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func newServerDisconnect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-04/sse/sse/client_test.go","range":{"start":{"line":231,"column":6}}},"severity":"ERROR"}
|
staticcheck:
client_test.go#L434
[staticcheck] reported by reviewdog 🐶
empty branch
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"empty branch","code":{"value":"SA9003","url":"https://staticcheck.io/docs/checks#SA9003"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-04/sse/sse/client_test.go","range":{"start":{"line":434,"column":3}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|
compliant
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
compliant
This self-hosted runner is currently using runner version 2.309.0. This version is out of date. Please update to the latest version 2.311.0
|
lint
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.309.0. Please update to the latest version 2.311.0
|
staticcheck
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.309.0. Please update to the latest version 2.311.0
|