reviewdog [staticcheck] report
reported by reviewdog 🐶
Findings (4)
envutil/envutil_test.go|102 col 11| variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
reflects/reflects.go|15 col 2| var fmtStringerType is unused
reflects/util.go|13 col 6| func loopIndirect is unused
strutil/strutil.go|93 col 5| var builtInFuncs is unused
Filtered Findings (0)
Annotations
Check failure on line 102 in envutil/envutil_test.go
github-actions / staticcheck
[staticcheck] envutil/envutil_test.go#L102 <SA5012>(https://staticcheck.io/docs/checks#SA5012)
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Raw output
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"variadic argument \"kvPairs\" is expected to have even number of elements, but has 3 elements","code":{"value":"SA5012","url":"https://staticcheck.io/docs/checks#SA5012"},"location":{"path":"/home/runner/work/goutil/goutil/envutil/envutil_test.go","range":{"start":{"line":102,"column":11}}},"severity":"ERROR"}
Check failure on line 15 in reflects/reflects.go
github-actions / staticcheck
[staticcheck] reflects/reflects.go#L15 <U1000>(https://staticcheck.io/docs/checks#U1000)
var fmtStringerType is unused
Raw output
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var fmtStringerType is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/reflects/reflects.go","range":{"start":{"line":15,"column":2}}},"severity":"ERROR"}
Check failure on line 13 in reflects/util.go
github-actions / staticcheck
[staticcheck] reflects/util.go#L13 <U1000>(https://staticcheck.io/docs/checks#U1000)
func loopIndirect is unused
Raw output
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func loopIndirect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/reflects/util.go","range":{"start":{"line":13,"column":6}}},"severity":"ERROR"}
Check failure on line 93 in strutil/strutil.go
github-actions / staticcheck
[staticcheck] strutil/strutil.go#L93 <U1000>(https://staticcheck.io/docs/checks#U1000)
var builtInFuncs is unused
Raw output
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var builtInFuncs is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/strutil/strutil.go","range":{"start":{"line":93,"column":5}}},"severity":"ERROR"}