|
@@ -51,7 +51,7 @@ func BindingForm[T any](c *binding_context.Context, request interface{}, sendFun
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
|
|
|
|
-func BindingXMLForm[T any](c *binding_context.Context, request interface{}, sendFunc response.SendFunc[T]) bool {
|
|
|
|
|
|
+func BindingXML[T any](c *binding_context.Context, request interface{}, sendFunc response.SendFunc[T]) bool {
|
|
err := c.ShouldBindXML(request)
|
|
err := c.ShouldBindXML(request)
|
|
if err != nil {
|
|
if err != nil {
|
|
var zero T
|
|
var zero T
|