yjp 1 жил өмнө
parent
commit
9eec6208c5

+ 1 - 1
http_binding/request/request.go

@@ -51,7 +51,7 @@ func BindingForm[T any](c *binding_context.Context, request interface{}, sendFun
 	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)
 	if err != nil {
 		var zero T