fix:at处理不完善 #6
Annotations
10 errors
golangci-lint:
coolq/event.go#L545
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/event.go#L565
Error return value of `w.Write` is not checked (errcheck)
|
golangci-lint:
coolq/api.go#L842
dupBranchBody: both branches in if statement have same body (gocritic)
|
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/login.go#L91
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
cmd/gocq/main.go#L109
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
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#L263
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading