feat: add plugin score
#3
Annotations
8 errors and 4 warnings
golangci-lint:
main.go#L69
Error return value of `nano.Run` is not checked (errcheck)
|
golangci-lint:
utils/ctxext/speed.go#L55
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
utils/ctxext/speed.go#L67
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
utils/ctxext/speed.go#L79
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
utils/ctxext/speed.go#L37
`limiters` is unused (structcheck)
|
golangci-lint:
plugin/hyaku/main.go#L28
`番号` is unused (structcheck)
|
golangci-lint:
main.go#L32
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)
|
golangci-lint
issues found
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/NanoBot-Plugin/NanoBot-Plugin. Supported file pattern: go.sum
|
golangci-lint:
kanban/init.go#L12
exported: exported function PrintBanner should have comment or be unexported (revive)
|
golangci-lint:
utils/ctxext/speed.go#L134
exported: exported function MustMessageNotNil should have comment or be unexported (revive)
|
golangci-lint:
main.go#L1
package-comments: should have a package comment (revive)
|
The logs for this run have expired and are no longer available.
Loading