Skip to content

feat(miniapp): 小程序订阅消息 #929

feat(miniapp): 小程序订阅消息

feat(miniapp): 小程序订阅消息 #929

Triggered via pull request October 11, 2023 13:56
Status Failure
Total duration 52s
Artifacts

go.yml

on: pull_request
Matrix: Test
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 5 warnings
golangci-lint (1.19): miniprogram/message/reply.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
golangci-lint (1.19): miniprogram/server/server.go#L104
File is not `gofmt`-ed with `-s` (gofmt)
golangci-lint (1.19): miniprogram/server/util.go#L7
File is not `gofmt`-ed with `-s` (gofmt)
golangci-lint (1.19): miniprogram/server/server.go#L7
File is not `goimports`-ed (goimports)
golangci-lint (1.19): miniprogram/miniprogram.go#L3
File is not `goimports`-ed (goimports)
golangci-lint (1.19): miniprogram/message/consts.go#L41
exported const InfoTypeAcceptSubscribeMessage should have comment (or a comment on this block) or be unexported (golint)
golangci-lint (1.19): miniprogram/message/consts.go#L96
struct field `TemplateId` should be `TemplateID` (golint)
golangci-lint (1.19): miniprogram/server/server.go#L39
exported function `NewServer` should have comment or be unexported (golint)
golangci-lint (1.19): miniprogram/server/server.go#L45
exported method `Server.Server` should have comment or be unexported (golint)
golangci-lint (1.19): miniprogram/server/server.go#L152
exported method `Server.SetMessageHandler` should have comment or be unexported (golint)
golangci-lint (1.16)
The job was canceled because "_1_19" failed.
golangci-lint (1.16)
The operation was canceled.
golangci-lint (1.18)
The job was canceled because "_1_19" failed.
golangci-lint (1.18)
The operation was canceled.
golangci-lint (1.17)
The job was canceled because "_1_19" failed.
golangci-lint (1.17)
The operation was canceled.
golangci-lint (1.20)
The job was canceled because "_1_19" failed.
golangci-lint (1.20)
The operation was canceled.
golangci-lint (1.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.16)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.18)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.17)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.20)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum