Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajitpratap0/GoSQLX
/ jsonError
Function
jsonError
wasm/main.go:168–171 ·
view source on GitHub ↗
(msg string)
Source
from the content-addressed store, hash-verified
166
}
167
168
func
jsonError(msg string) string {
169
b, _ := json.Marshal(
map
[string]any{
"error"
: msg})
170
return
string(b)
171
}
172
173
func
jsonResult(v any) string {
174
b, _ := json.MarshalIndent(v,
""
,
" "
)
Callers
5
parse
Function · 0.85
format
Function · 0.85
lint
Function · 0.85
validate
Function · 0.85
analyze
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected