fix: 修复无法使用url发送图片 #21
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)
|