Skip to content

👔 update: netutil - update add new func ToKindWithFunc() and … #591

👔 update: netutil - update add new func ToKindWithFunc() and …

👔 update: netutil - update add new func ToKindWithFunc() and … #591

Triggered via push July 27, 2023 11:09
Status Success
Total duration 2m 35s
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

5 errors and 10 warnings
[staticcheck] envutil/envutil_test.go#L84 <SA5012>(https://staticcheck.io/docs/checks#SA5012): envutil/envutil_test.go#L84
variadic argument "kvPairs" is expected to have even number of elements, but has 1 elements
Test on go 1.20 and ubuntu-latest: mathutil/convert.go#L147
if block ends with a return statement, so drop this else and outdent its block
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: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L194
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L235
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L215
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: strutil/check.go#L284
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: testutil/httpmock.go#L116
struct field Url should be URL
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L124
struct field Json should be JSON