spade v0 retrieval worker #80
Annotations
10 errors
build:
pkg/spade-spike/spade-spike.go#L268
Error return value of `logging.SetLogLevel` is not checked (errcheck)
|
build:
pkg/spade-spike/spade-spike.go#L246
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
build:
pkg/spade-spike/spade-spike.go#L254
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
build:
pkg/spade-spike/spade-spike.go#L194
line is 130 characters (lll)
|
build:
pkg/spade-spike/spade-spike.go#L241
line is 125 characters (lll)
|
build:
pkg/spade-spike/spade-spike.go#L118
`FindLinks` - `ctx` is unused (unparam)
|
build:
pkg/spade-spike/spade-spike.go#L237
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"root node contains no links, will not traverse any further\")" (goerr113)
|
build:
pkg/spade-spike/spade-spike.go#L251
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"node at depth %d contains no links, will not traverse any further\", i)" (goerr113)
|
build:
integration/spadev0/main.go#L170
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
|
build:
integration/spadev0/main.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|