optimize: delete pool and optimize ut #62
pr-check.yml
on: pull_request
compliant
11s
staticcheck
17s
Annotations
6 errors and 3 warnings
compliant
Process completed with exit code 2.
|
staticcheck:
example/stream/main.go#L97
[staticcheck] reported by reviewdog 🐶
this value of err is never used
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-01/gzip/gzip/example/stream/main.go","range":{"start":{"line":97,"column":2}}},"severity":"ERROR"}
|
staticcheck:
example/stream/main.go#L106
[staticcheck] reported by reviewdog 🐶
this value of err is never used
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-01/gzip/gzip/example/stream/main.go","range":{"start":{"line":106,"column":2}}},"severity":"ERROR"}
|
staticcheck:
gzip_test.go#L496
[staticcheck] reported by reviewdog 🐶
this value of err is never used
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-01/gzip/gzip/gzip_test.go","range":{"start":{"line":496,"column":2}}},"severity":"ERROR"}
|
staticcheck:
gzip_test.go#L504
[staticcheck] reported by reviewdog 🐶
this value of err is never used
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-01/gzip/gzip/gzip_test.go","range":{"start":{"line":504,"column":2}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|
compliant
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
compliant:
gzip_test.go#L446
"Datas" should be "Data".
|
compliant:
gzip_test.go#L517
"Datas" should be "Data".
|