Skip to content

chore: 更新goreleaser配置文件 #25

chore: 更新goreleaser配置文件

chore: 更新goreleaser配置文件 #25

Triggered via push November 9, 2024 15:04
Status Failure
Total duration 52s
Artifacts

golint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cmd/gocq/main.go#L109
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: cmd/gocq/login.go#L80
increment-decrement: should replace padding += 1 with padding++ (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: cmd/gocq/login.go#L26
var `console` is unused (unused)
lint: cmd/gocq/login.go#L28
func `readLine` is unused (unused)
lint: cmd/gocq/login.go#L34
func `readLineTimeout` is unused (unused)
lint: cmd/gocq/login.go#L48
func `readIfTTY` is unused (unused)
lint: cmd/gocq/login.go#L107
func `printQRCodeCommon` is unused (unused)
lint: server/websocket.go#L75
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)