chore(deps): bump golang.org/x/net from 0.0.0-20221014081412-f15817d10f9b to 0.17.0 #6
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
reviewdog.yml
on: pull_request
runner / staticcheck
3m 11s
Annotations
4 errors
runner / staticcheck:
core/conf/properties.go#L15
[staticcheck] reported by reviewdog 🐶
field error is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field error is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/go-zero/go-zero/core/conf/properties.go","range":{"start":{"line":15,"column":2}}},"severity":"ERROR"}
|
runner / staticcheck:
core/logx/writer_test.go#L110
[staticcheck] reported by reviewdog 🐶
Close doesn't have side effects and its return value is ignored
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"Close doesn't have side effects and its return value is ignored","code":{"value":"SA4017","url":"https://staticcheck.io/docs/checks#SA4017"},"location":{"path":"/home/runner/work/go-zero/go-zero/core/logx/writer_test.go","range":{"start":{"line":110,"column":3}}},"severity":"ERROR"}
|
runner / staticcheck:
rest/httpg/responses.go#L30
[staticcheck] reported by reviewdog 🐶
should omit comparison to bool constant, can be simplified to !c.Writer.Written()
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should omit comparison to bool constant, can be simplified to !c.Writer.Written()","code":{"value":"S1002","url":"https://staticcheck.io/docs/checks#S1002"},"location":{"path":"/home/runner/work/go-zero/go-zero/rest/httpg/responses.go","range":{"start":{"line":30,"column":5}}},"severity":"ERROR"}
|
runner / staticcheck
Process completed with exit code 1.
|