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

Method BindXML

context.go:768–770  ·  view source on GitHub ↗

BindXML is a shortcut for c.MustBindWith(obj, binding.BindXML).

(obj any)

Source from the content-addressed store, hash-verified

766
767// BindXML is a shortcut for c.MustBindWith(obj, binding.BindXML).
768func (c *Context) BindXML(obj any) error {
769 return c.MustBindWith(obj, binding.XML)
770}
771
772// BindQuery is a shortcut for c.MustBindWith(obj, binding.Query).
773func (c *Context) BindQuery(obj any) error {

Callers 1

TestContextBindWithXMLFunction · 0.80

Calls 1

MustBindWithMethod · 0.95

Tested by 1

TestContextBindWithXMLFunction · 0.64