Skip to content

✨ feat(cli): add new cli util command ReadAsBool() and updat… #522

✨ feat(cli): add new cli util command ReadAsBool() and updat…

✨ feat(cli): add new cli util command ReadAsBool() and updat… #522

Triggered via push May 4, 2023 02:17
Status Success
Total duration 2m 14s
Artifacts

go.yml

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

Annotations

22 errors and 30 warnings
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: netutil/httpheader/header.go#L1
should have a package comment
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: 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: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.19 and ubuntu-latest: sysutil/sysutil.go#L31
func parameter fileOrUrl should be fileOrURL
Test on go 1.19 and ubuntu-latest: testutil/httpmock.go#L44
func NewHttpRequest should be NewHTTPRequest
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: sysutil/user_nonwin.go#L21
func parameter newUid should be newUID
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.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: netutil/httpheader/header.go#L1
should have a package comment
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: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
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/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: sysutil/user_nonwin.go#L21
func parameter newUid should be newUID
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: strutil/textscan/tokens.go#L137
parameter 'ts' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: sysutil/sysutil.go#L31
func parameter fileOrUrl should be fileOrURL
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: 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: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
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: netutil/httpctype/content_type.go#L4
exported const Key should have comment 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/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
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/httpheader/header.go#L1
should have a package comment