build(deps): bump golang.org/x/text from 0.9.0 to 0.10.0 #554
Annotations
11 errors and 10 warnings
Test on go 1.20 and ubuntu-latest:
cliutil/cmdline/builder.go#L58
[staticcheck] reported by reviewdog 🐶
don't use Yoda conditions
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"don't use Yoda conditions","code":{"value":"ST1017","url":"https://staticcheck.io/docs/checks#ST1017"},"location":{"path":"/home/runner/work/goutil/goutil/cliutil/cmdline/builder.go","range":{"start":{"line":58,"column":17}}},"severity":"ERROR"}
|
Test on go 1.20 and ubuntu-latest:
cliutil/cmdline/builder.go#L64
[staticcheck] reported by reviewdog 🐶
don't use Yoda conditions
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"don't use Yoda conditions","code":{"value":"ST1017","url":"https://staticcheck.io/docs/checks#ST1017"},"location":{"path":"/home/runner/work/goutil/goutil/cliutil/cmdline/builder.go","range":{"start":{"line":64,"column":17}}},"severity":"ERROR"}
|
Test on go 1.20 and ubuntu-latest:
structs/smap.go#L5
[staticcheck] reported by reviewdog 🐶
field data is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field data is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/structs/smap.go","range":{"start":{"line":5,"column":2}}},"severity":"ERROR"}
|
Test on go 1.20 and ubuntu-latest:
sysutil/clipboard/util.go#L45
[staticcheck] reported by reviewdog 🐶
var writerOnLin is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var writerOnLin is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/sysutil/clipboard/util.go","range":{"start":{"line":45,"column":2}}},"severity":"ERROR"}
|
Test on go 1.20 and ubuntu-latest
Process completed with exit code 1.
|
Test on go 1.20 and windows-latest
The job was canceled because "ubuntu-latest_1_20" failed.
|
Test on go 1.20 and windows-latest
The operation was canceled.
|
Test on go 1.19 and windows-latest
The job was canceled because "ubuntu-latest_1_20" failed.
|
Test on go 1.19 and windows-latest
The operation was canceled.
|
Test on go 1.18 and windows-latest
The job was canceled because "ubuntu-latest_1_20" failed.
|
Test on go 1.18 and windows-latest
The operation was canceled.
|
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:
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:
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:
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:
netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
|
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:
testutil/httpmock.go#L44
func NewHttpRequest should be NewHTTPRequest
|
Test on go 1.20 and ubuntu-latest:
testutil/assert/assertions_methods.go#L3
exported method Assertions.Nil should have comment or be unexported
|