👔 up: fsutil add const and update the FindInDir() #744
Annotations
2 errors and 5 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] reflects/util.go#L13 <U1000>(https://staticcheck.io/docs/checks#U1000):
reflects/util.go#L13
func loopIndirect is unused
|
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:
envutil/envutil_test.go#L79
parameter 'eVal' seems to be unused, consider removing or renaming it as _
|
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:
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:
structs/tags.go#L227
parameter 'field' seems to be unused, consider removing or renaming it as _
|