package
0.0.0-20200729042656-e841ab4f89d5
Repository: https://github.com/jslyzt/gin.git
Documentation: pkg.go.dev

# Functions

Default short for DefaultBind.
DefaultBind returns the appropriate Binding instance based on the HTTP method and the content type.

# Constants

Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.

# Variables

EnableDecoderDisallowUnknownFields is used to call the DisallowUnknownFields method on the JSON Decoder instance.
EnableDecoderUseNumber is used to call the UseNumber method on the JSON Decoder instance.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
Validator is the default validator which implements the StructValidator interface.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.
These implement the Binding interface and can be used to bind the data present in the request to struct instances.

# Interfaces

BindBody adds BindBody method to Binding.
Binding describes the interface which needs to be implemented for binding the data present in the request such as JSON request body, query parameters or the form POST.
BindURI adds BindURI method to Binding.
StructValidator is the minimal interface which needs to be implemented in order for it to be used as the validator engine for ensuring the correctness of the request.