Skip to content

👔 up(str): optimize the ToByteSize() and GlobMatch() logic #530

👔 up(str): optimize the ToByteSize() and GlobMatch() logic

👔 up(str): optimize the ToByteSize() and GlobMatch() logic #530

Triggered via push May 16, 2023 06:32
Status Failure
Total duration 1m 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 20 warnings
Test on go 1.19 and windows-latest
Process completed with exit code 1.
Test on go 1.19 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.19 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and windows-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.20 and windows-latest
The operation was canceled.
Test on go 1.18 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.18 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest
The job was canceled because "windows-latest_1_19" failed.
Test on go 1.20 and ubuntu-latest
The operation was canceled.
Test on go 1.18 and ubuntu-latest: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.18 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: dump/dump_test.go#L254
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: dump/dump_test.go#L293
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: dump/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: netutil/httpheader/header.go#L4
exported const UserAgent should have comment (or a comment on this block) or be unexported
Test on go 1.18 and ubuntu-latest: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
Test on go 1.18 and ubuntu-latest: netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
Test on go 1.18 and ubuntu-latest: dump/dumper_test.go#L193
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: fsutil/finder/result.go#L27
parameter 'filterFuncs' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.20 and ubuntu-latest: fsutil/finder/result.go#L27
parameter 'filterFuncs' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: netutil/httpheader/header.go#L4
exported const UserAgent should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.20 and ubuntu-latest: netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
Test on go 1.20 and ubuntu-latest: strutil/textscan/tokens.go#L137
parameter 'ts' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: strutil/textscan/tokens.go#L142
parameter 'tok' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: fsutil/finder/finder.go#L15
exported const ExDotFile should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L254
parameter 't' seems to be unused, consider removing or renaming it as _