Skip to content

📝 doc: re-generate new README and fix some code style #696

📝 doc: re-generate new README and fix some code style

📝 doc: re-generate new README and fix some code style #696

Triggered via push January 4, 2024 13:52
Status Success
Total duration 2m 18s
Artifacts

go.yml

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

Annotations

4 errors and 9 warnings
[staticcheck] envutil/envutil_test.go#L102 <SA5012>(https://staticcheck.io/docs/checks#SA5012): envutil/envutil_test.go#L102
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
[staticcheck] envutil/envutil_test.go#L102 <SA5012>(https://staticcheck.io/docs/checks#SA5012): envutil/envutil_test.go#L102
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Test on go 1.20 and ubuntu-latest: strutil/check.go#L293
if block ends with a return statement, so drop this else and outdent its block
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L216
parameter 't' seems to be unused, consider removing or renaming it as _
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: strutil/convbase.go#L58
should drop = 0 from declaration of var dec; it is the zero value
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L363
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: strutil/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L367
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L426
parameter 't' seems to be unused, consider removing or renaming it as _