Update main.go #1429
Annotations
1 error and 8 warnings
golangci-lint
issues found
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot-Plugin/ZeroBot-Plugin. Supported file pattern: go.sum
|
golangci-lint:
plugin/manager/timer/sleep.go#L158
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugin/bilibili/bilibilimodel.go#L78
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugin/steam/listenter.go#L60
var-naming: var streamIds should be streamIDs (revive)
|
golangci-lint:
plugin/steam/listenter.go#L120
var-naming: func parameter streamIds should be streamIDs (revive)
|
golangci-lint:
plugin/thesaurus/chat.go#L181
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugin/guessmusic/struct.go#L244
var-naming: struct field VideoIds should be VideoIDs (revive)
|
golangci-lint:
plugin/guessmusic/struct.go#L246
var-naming: struct field TrackIds should be TrackIDs (revive)
|
The logs for this run have expired and are no longer available.
Loading