Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caddyserver/certmagic
/ mustJSON
Function
mustJSON
config_test.go:150–156 ·
view source on GitHub ↗
(val any)
Source
from the content-addressed store, hash-verified
148
}
149
150
func
mustJSON(val any) []byte {
151
result, err := json.Marshal(val)
152
if
err != nil {
153
panic(
"marshaling JSON: "
+ err.Error())
154
}
155
return
result
156
}
Callers
1
TestSaveCertResource
Function · 0.85
Calls
1
Error
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…