Skip to content

fix:at处理不完善 #6

fix:at处理不完善

fix:at处理不完善 #6

Triggered via pull request October 6, 2024 06:34
Status Failure
Total duration 52s
Artifacts

golint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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