Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gin-gonic/gin
/ Bind
Method
Bind
binding/query.go:15–21 ·
view source on GitHub ↗
(req *http.Request, obj any)
Source
from the content-addressed store, hash-verified
13
}
14
15
func
(queryBinding) Bind(req *http.Request, obj any) error {
16
values := req.URL.Query()
17
if
err := mapForm(obj, values); err != nil {
18
return
err
19
}
20
return
validate(obj)
21
}
Callers
nothing calls this directly
Calls
3
mapForm
Function · 0.85
Query
Method · 0.80
validate
Function · 0.70
Tested by
no test coverage detected