MCPcopy
hub / github.com/gin-gonic/gin / Bind

Method Bind

binding/xml.go:20–22  ·  view source on GitHub ↗
(req *http.Request, obj any)

Source from the content-addressed store, hash-verified

18}
19
20func (xmlBinding) Bind(req *http.Request, obj any) error {
21 return decodeXML(req.Body, obj)
22}
23
24func (xmlBinding) BindBody(body []byte, obj any) error {
25 return decodeXML(bytes.NewReader(body), obj)

Callers

nothing calls this directly

Calls 1

decodeXMLFunction · 0.85

Tested by

no test coverage detected