Skip to content

规范接口命名&&增加自动删脏数据 #387

规范接口命名&&增加自动删脏数据

规范接口命名&&增加自动删脏数据 #387

Triggered via push August 2, 2023 16:39
Status Failure
Total duration 28s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: util/tts.go#L35
unused-parameter: parameter 'text' seems to be unused, consider removing or renaming it as _ (revive)
lint: util/tts.go#L68
var `fail` is unused (unused)
lint: util/tts.go#L69
var `reqNum` is unused (unused)
lint: config/config.go#L73
Error return value of `os.WriteFile` is not checked (errcheck)
lint: plugin/jx3/jx3.go#L169
Error return value is not checked (errcheck)
lint: plugin/jx3/jx3api.go#L71
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: plugin/jx3/wanbaolou.go#L48
sloppyLen: len(jsonData.Get("data.list").Array()) <= 0 can be len(jsonData.Get("data.list").Array()) == 0 (gocritic)
lint: plugin/jx3/model.go#L242
func `(*jx3db).delete` is unused (unused)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot-Plugin/ZeroBot-Plugin. Supported file pattern: go.sum