fix:重复创建设备信息 (#5) #5
Annotations
10 errors
lint:
server/websocket.go#L75
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
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)
|