Skip to content

fix:重复创建设备信息 #4

fix:重复创建设备信息

fix:重复创建设备信息 #4

Re-run triggered October 6, 2024 03:22
Status Failure
Total duration 54s
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#L320
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: coolq/event.go#L245
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)
lint: coolq/api.go#L331
unused-parameter: parameter 'busID' seems to be unused, consider removing or renaming it as _ (revive)
lint: coolq/api.go#L728
unused-parameter: parameter 'msg' seems to be unused, consider removing or renaming it as _ (revive)