refactor:重构帮助文档,拆离搜索引擎逻辑 #56
Annotations
10 errors and 1 warning
Test & Lint:
main.go#L489
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
Test & Lint:
main.go#L9
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
|
Test & Lint:
dice/dice_help.go#L132
unnecessary trailing newline (whitespace)
|
Test & Lint:
dice/docengine/bleve.go#L76
nilness: impossible condition: nil != nil (govet)
|
Test & Lint:
dice/dice_help.go#L525
nilness: impossible condition: nil != nil (govet)
|
Test & Lint:
dice/builtin_commands.go#L359
unusedwrite: unused write to field From (govet)
|
Test & Lint:
dice/builtin_commands.go#L361
unusedwrite: unused write to field Content (govet)
|
Test & Lint:
dice/builtin_commands.go#L364
unusedwrite: unused write to field KeyWords (govet)
|
Test & Lint:
dice/builtin_commands.go#L365
unusedwrite: unused write to field RelatedExt (govet)
|
Test & Lint:
dice/dice_help.go#L514
assigned to matched, but reassigned without using the value (wastedassign)
|
Test & Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|