MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / EmptyStringParam

Function EmptyStringParam

tests/runtime/lists/test.go:19–23  ·  view source on GitHub ↗
(x string)

Source from the content-addressed store, hash-verified

17}
18
19func EmptyStringParam(x string) {
20 if len(x) != 0 {
21 panic("trouble")
22 }
23}
24
25func EmptyListResult() []uint8 {
26 return []uint8{}

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected