feat: add rediscluster for sessions #36
pr-check.yml
on: pull_request
compliant
7s
staticcheck
25s
Annotations
3 errors
staticcheck:
rediscluster/redisc_test.go#L368
[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-06/sessions/sessions/rediscluster/redisc_test.go","range":{"start":{"line":368,"column":2}}},"severity":"ERROR"}
|
staticcheck:
rediscluster/redisc_test.go#L369
[staticcheck] reported by reviewdog 🐶
should check returned error before deferring store.Close()
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should check returned error before deferring store.Close()","code":{"value":"SA5001","url":"https://staticcheck.io/docs/checks#SA5001"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-06/sessions/sessions/rediscluster/redisc_test.go","range":{"start":{"line":369,"column":2}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|