fix: api.CQSetGroupAdmin (#7) #13
Annotations
10 errors
golangci-lint:
coolq/event.go#L544
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
coolq/event.go#L563
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
coolq/event.go#L564
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
coolq/bot.go#L334
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
coolq/event.go#L245
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
cmd/gocq/main.go#L109
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
coolq/event.go#L209
var-naming: var userId should be userID (revive)
|
golangci-lint:
coolq/cqcode.go#L1006
var-naming: var fileUuid should be fileUUID (revive)
|
golangci-lint:
coolq/event.go#L111
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
coolq/api.go#L262
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading