Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
func
EmptyStringParam(x string) {
20
if
len(x) != 0 {
21
panic(
"trouble"
)
22
}
23
}
24
25
func
EmptyListResult() []uint8 {
26
return
[]uint8{}
Callers
1
Run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected