use wazero #397
Annotations
5 errors and 11 warnings
golangci-lint:
internal/api/mocks.go#L539
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
internal/api/mocks.go#L529
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
internal/api/lib_test.go#L1364
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L142
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint:
internal/api/testdb/memdb_iterator.go#L108
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
internal/runtime/hostfunctions.go#L406
unused-parameter: parameter 'mod' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L31
exported: type name will be used as runtime.RuntimeEnvironment by other packages, and that stutters; consider calling this Environment (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L70
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L71
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L72
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L73
unused-parameter: parameter 'start' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L74
unused-parameter: parameter 'start' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L94
unused-parameter: parameter 'human' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/runtime/wazeroruntime.go#L102
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading