mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-13 00:59:29 +08:00
Merge 1fb09e93b0683bff1f2a8f1353b737a1eab799c4 into d9e5cdf9c6f9c1643be6e081516469c71645d93d
This commit is contained in:
commit
4dce20828e
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user