Skip to content

fix: 缺失的module/api #18

fix: 缺失的module/api

fix: 缺失的module/api #18

Re-run triggered November 7, 2024 00:03
Status Failure
Total duration 1m 14s
Artifacts

golint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: coolq/event.go#L544
Error return value of `w.Write` is not checked (errcheck)
lint: coolq/event.go#L563
Error return value of `w.Write` is not checked (errcheck)
lint: coolq/event.go#L564
Error return value of `w.Write` is not checked (errcheck)
lint: coolq/bot.go#L334
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: coolq/event.go#L245
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: cmd/gocq/main.go#L109
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: coolq/api.go#L262
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/api.go#L330
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/api.go#L727
unused-parameter: parameter 'msg' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/event.go#L111
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)