Skip to content

fix: api.CQSetGroupAdmin (#7) #13

fix: api.CQSetGroupAdmin (#7)

fix: api.CQSetGroupAdmin (#7) #13

Triggered via push October 8, 2024 11:42
Status Failure
Total duration 1m 1s
Artifacts

golint.yml

on: push
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/event.go#L209
var-naming: var userId should be userID (revive)
lint: coolq/cqcode.go#L1006
var-naming: var fileUuid should be fileUUID (revive)
lint: coolq/event.go#L111
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/api.go#L262
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)