Skip to content

👔 up(net/httpheader): update the ResponseToString() and add n… #521

👔 up(net/httpheader): update the ResponseToString() and add n…

👔 up(net/httpheader): update the ResponseToString() and add n… #521

Triggered via push April 20, 2023 05:04
Status Failure
Total duration 1m 52s
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

33 errors and 30 warnings
Test on go 1.18 and windows-latest
Process completed with exit code 1.
Test on go 1.19 and windows-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.19 and windows-latest
The operation was canceled.
Test on go 1.20 and windows-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.20 and windows-latest
The operation was canceled.
Test on go 1.19 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.19 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.20 and ubuntu-latest
The operation was canceled.
Test on go 1.18 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.18 and ubuntu-latest
The operation was canceled.
Test on go 1.19 and ubuntu-latest: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.19 and ubuntu-latest: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
Test on go 1.19 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.19 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.19 and ubuntu-latest: dump/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.19 and ubuntu-latest: strutil/textscan/tokens.go#L137
parameter 'ts' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: fsutil/finder/result.go#L27
parameter 'filterFuncs' seems to be unused, consider removing or renaming it as _
Test on go 1.19 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: 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: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L44
func NewHttpRequest should be NewHTTPRequest
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: sysutil/sysutil.go#L31
func parameter fileOrUrl should be fileOrURL
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: sysutil/sysutil.go#L36
func parameter fileOrUrl should be fileOrURL
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L21
func parameter newUid should be newUID
Test on go 1.20 and ubuntu-latest: testutil/assert/assertions_methods.go#L3
exported method Assertions.Nil should have comment or be unexported
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: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.18 and ubuntu-latest: dump/dumper_test.go#L214
parameter 't' seems to be unused, consider removing or renaming it as _
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: testutil/httpmock.go#L44
func NewHttpRequest should be NewHTTPRequest
Test on go 1.18 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
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.18 and ubuntu-latest: dump/dumper_test.go#L234
parameter 't' seems to be unused, consider removing or renaming it as _
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 _