Merge 1fb09e93b0683bff1f2a8f1353b737a1eab799c4 into d9e5cdf9c6f9c1643be6e081516469c71645d93d

This commit is contained in:
Gleb Haranin 2026-01-24 04:55:45 -05:00 committed by GitHub
commit 4dce20828e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,18 +70,18 @@ var Validator StructValidator = &defaultValidator{}
// These implement the Binding interface and can be used to bind the data // These implement the Binding interface and can be used to bind the data
// present in the request to struct instances. // present in the request to struct instances.
var ( var (
JSON = jsonBinding{} JSON BindingBody = jsonBinding{}
XML = xmlBinding{} XML BindingBody = xmlBinding{}
Form = formBinding{} Form Binding = formBinding{}
Query = queryBinding{} Query Binding = queryBinding{}
FormPost = formPostBinding{} FormPost Binding = formPostBinding{}
FormMultipart = formMultipartBinding{} FormMultipart Binding = formMultipartBinding{}
ProtoBuf = protobufBinding{} ProtoBuf BindingBody = protobufBinding{}
YAML = yamlBinding{} YAML BindingBody = yamlBinding{}
Uri = uriBinding{} Uri BindingUri = uriBinding{}
Header = headerBinding{} Header Binding = headerBinding{}
TOML = tomlBinding{} Plain BindingBody = plainBinding{}
Plain = plainBinding{} TOML BindingBody = tomlBinding{}
) )
// Default returns the appropriate Binding instance based on the HTTP method // Default returns the appropriate Binding instance based on the HTTP method