Skip to content

improve code for unmarshal message #946

improve code for unmarshal message

improve code for unmarshal message #946

Triggered via push October 16, 2023 07:12
Status Failure
Total duration 47s
Artifacts

go.yml

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

Annotations

14 errors and 6 warnings
golangci-lint (1.16): miniprogram/message/message.go#L505
S1001: should use copy(to, from) instead of a loop (gosimple)
golangci-lint (1.16): miniprogram/message/message.go#L544
S1001: should use copy(to, from) instead of a loop (gosimple)
golangci-lint (1.16): miniprogram/message/message.go#L585
S1001: should use copy(to, from) instead of a loop (gosimple)
golangci-lint (1.16)
issues found
golangci-lint (1.20)
The job was canceled because "_1_16" failed.
golangci-lint (1.20)
The operation was canceled.
golangci-lint (1.21)
The job was canceled because "_1_16" failed.
golangci-lint (1.21)
The operation was canceled.
golangci-lint (1.18)
The job was canceled because "_1_16" failed.
golangci-lint (1.18)
The operation was canceled.
golangci-lint (1.17)
The job was canceled because "_1_16" failed.
golangci-lint (1.17)
The operation was canceled.
golangci-lint (1.19)
The job was canceled because "_1_16" failed.
golangci-lint (1.19)
The operation was canceled.
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.20)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum
golangci-lint (1.21)
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.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/wechat/wechat. Supported file pattern: go.sum