Skip to content

fix: 修复无法使用url发送图片 #21

fix: 修复无法使用url发送图片

fix: 修复无法使用url发送图片 #21

Triggered via push November 8, 2024 12:00
Status Failure
Total duration 55s
Artifacts

golint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: coolq/event.go#L544
Error return value of `w.Write` is not checked (errcheck)
lint: coolq/event.go#L563
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/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#L209
var-naming: var userId should be userID (revive)
lint: coolq/event.go#L111
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/cqcode.go#L1008
var-naming: var fileUuid should be fileUUID (revive)
lint: coolq/api.go#L262
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)