Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ marshal
Function
marshal
codersdk/client_internal_test.go:383–390 ·
view source on GitHub ↗
(res any)
Source
from the content-addressed store, hash-verified
381
}
382
383
func
marshal(res any) string {
384
b, err := json.Marshal(res)
385
if
err != nil {
386
panic(err)
387
}
388
389
return
string(b)
390
}
Callers
1
Test_readBodyAsError
Function · 0.85
Calls
1
Marshal
Method · 0.45
Tested by
no test coverage detected