Update main.go #1429
Annotations
1 error and 10 warnings
lint
issues found
|
closepr
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: superbrothers/close-pull-request@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
closepr
The following actions uses node12 which is deprecated and will be forced to run on node16: superbrothers/close-pull-request@v3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot-Plugin/ZeroBot-Plugin. Supported file pattern: go.sum
|
lint:
plugin/manager/timer/sleep.go#L158
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
plugin/bilibili/bilibilimodel.go#L78
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
plugin/steam/listenter.go#L60
var-naming: var streamIds should be streamIDs (revive)
|
lint:
plugin/steam/listenter.go#L120
var-naming: func parameter streamIds should be streamIDs (revive)
|
lint:
plugin/thesaurus/chat.go#L181
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
plugin/guessmusic/struct.go#L244
var-naming: struct field VideoIds should be VideoIDs (revive)
|
lint:
plugin/guessmusic/struct.go#L246
var-naming: struct field TrackIds should be TrackIDs (revive)
|