use wazero #399
Annotations
7 errors and 11 warnings
lint:
internal/api/lib.go#L60
Error return value of `unix.Flock` is not checked (errcheck)
|
lint:
internal/api/lib.go#L78
Error return value of `unix.Flock` is not checked (errcheck)
|
lint:
internal/api/mocks.go#L539
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/api/mocks.go#L529
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
internal/api/lib_test.go#L1364
ifElseChain: rewrite if-else to switch statement (gocritic)
|
lint:
internal/runtime/hostfunctions.go#L364
func `hostNextValue` is unused (unused)
|
lint
issues found
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
internal/api/testdb/memdb_iterator.go#L108
empty-block: this block is empty, you can remove it (revive)
|
lint:
internal/runtime/wazeroruntime.go#L78
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L79
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/hostfunctions.go#L404
unused-parameter: parameter 'mod' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/hostfunctions.go#L426
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L80
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L81
unused-parameter: parameter 'start' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L82
unused-parameter: parameter 'start' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L102
unused-parameter: parameter 'human' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/runtime/wazeroruntime.go#L110
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
|