Skip to content

chore: make lint happy #2 #27

chore: make lint happy #2

chore: make lint happy #2 #27

Triggered via push November 11, 2024 19:27
Status Failure
Total duration 1m 3s
Artifacts

golint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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#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)
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: cmd/gocq/main.go#L322
empty-block: this block is empty, you can remove it (revive)
lint: cmd/gocq/main.go#L186
unused-parameter: parameter 'q' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/websocket.go#L75
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)