Skip to content

chore(deps): bump github.com/gookit/goutil from 0.6.15 to 0.6.16 #11

chore(deps): bump github.com/gookit/goutil from 0.6.15 to 0.6.16

chore(deps): bump github.com/gookit/goutil from 0.6.15 to 0.6.16 #11

Triggered via pull request July 9, 2024 15:22
Status Success
Total duration 32s
Artifacts

lint.yml

on: pull_request
Code linter
21s
Code linter
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 10 warnings
Code linter: manager.go#L32
[staticcheck] reported by reviewdog 🐶 field events is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field events is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/event/event/manager.go","range":{"start":{"line":32,"column":2},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
Code linter: manager.go#L166
[staticcheck] reported by reviewdog 🐶 error should be returned as the last argument Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"error should be returned as the last argument","code":{"value":"ST1008","url":"https://staticcheck.io/docs/checks#ST1008"},"location":{"path":"/home/runner/work/event/event/manager.go","range":{"start":{"line":166,"column":52},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
Code linter: manager.go#L171
[staticcheck] reported by reviewdog 🐶 error should be returned as the last argument Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"error should be returned as the last argument","code":{"value":"ST1008","url":"https://staticcheck.io/docs/checks#ST1008"},"location":{"path":"/home/runner/work/event/event/manager.go","range":{"start":{"line":171,"column":49},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
Code linter: manager.go#L475
[staticcheck] reported by reviewdog 🐶 unnecessary guard around call to delete Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary guard around call to delete","code":{"value":"S1033","url":"https://staticcheck.io/docs/checks#S1033"},"location":{"path":"/home/runner/work/event/event/manager.go","range":{"start":{"line":475,"column":2},"end":{"line":475,"column":34}}},"related_locations":[],"severity":"ERROR"}
Code linter: manager_test.go#L165
[staticcheck] reported by reviewdog 🐶 this value of e is never used Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of e is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/home/runner/work/event/event/manager_test.go","range":{"start":{"line":165,"column":2},"end":{"line":165,"column":35}}},"related_locations":[],"severity":"ERROR"}
Code linter: simpleevent/manager.go#L119
[staticcheck] reported by reviewdog 🐶 unnecessary assignment to the blank identifier Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"unnecessary assignment to the blank identifier","code":{"value":"S1005","url":"https://staticcheck.io/docs/checks#S1005"},"location":{"path":"/home/runner/work/event/event/simpleevent/manager.go","range":{"start":{"line":119,"column":2},"end":{"line":119,"column":27}}},"related_locations":[],"severity":"ERROR"}
Code linter: std.go#L61
[staticcheck] reported by reviewdog 🐶 error should be returned as the last argument Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"error should be returned as the last argument","code":{"value":"ST1008","url":"https://staticcheck.io/docs/checks#ST1008"},"location":{"path":"/home/runner/work/event/event/std.go","range":{"start":{"line":61,"column":38},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
Code linter: std.go#L66
[staticcheck] reported by reviewdog 🐶 error should be returned as the last argument Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"error should be returned as the last argument","code":{"value":"ST1008","url":"https://staticcheck.io/docs/checks#ST1008"},"location":{"path":"/home/runner/work/event/event/std.go","range":{"start":{"line":66,"column":35},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
Code linter: simpleevent/all_test.go#L15
parameter 'e' seems to be unused, consider removing or renaming it as _
Code linter: simpleevent/all_test.go#L1
should have a package comment
Code linter: simpleevent/all_test.go#L75
parameter 'e' seems to be unused, consider removing or renaming it as _
Code linter: simpleevent/all_test.go#L25
parameter 'e' seems to be unused, consider removing or renaming it as _
Code linter: simpleevent/all_test.go#L91
parameter 'e' seems to be unused, consider removing or renaming it as _
Code linter: simpleevent/all_test.go#L87
parameter 'e' seems to be unused, consider removing or renaming it as _
Code linter: std.go#L61
error should be the last type when returning multiple items
Code linter: manager.go#L166
error should be the last type when returning multiple items
Code linter: std.go#L66
error should be the last type when returning multiple items
Code linter: manager.go#L171
error should be the last type when returning multiple items