init #1
Annotations
10 errors and 4 warnings
lint:
main.go#L63
Error return value of `nano.Run` is not checked (errcheck)
|
lint:
utils/ctxext/speed.go#L55
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
utils/ctxext/speed.go#L67
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
utils/ctxext/speed.go#L79
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
utils/ctxext/speed.go#L37
`limiters` is unused (structcheck)
|
lint:
plugin/hyaku/main.go#L28
`番号` is unused (structcheck)
|
lint:
plugin/b14/main.go#L5
import 'github.com/fumiama/NanoBot' is not allowed from list 'Main' (depguard)
|
lint:
plugin/b14/main.go#L7
import 'github.com/fumiama/go-base16384' is not allowed from list 'Main' (depguard)
|
lint:
plugin/b14/main.go#L9
import 'github.com/FloatTech/floatbox/crypto' is not allowed from list 'Main' (depguard)
|
lint:
plugin/b14/main.go#L10
import 'github.com/FloatTech/zbpctrl' is not allowed from list 'Main' (depguard)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/NanoBot-Plugin/NanoBot-Plugin. Supported file pattern: go.sum
|
lint:
kanban/init.go#L12
exported: exported function PrintBanner should have comment or be unexported (revive)
|
lint:
utils/ctxext/speed.go#L134
exported: exported function MustMessageNotNil should have comment or be unexported (revive)
|
lint:
main.go#L1
package-comments: should have a package comment (revive)
|