Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2020 Changes in this version + const ContentType + const ContentTypeForm + const ContentTypeJSON + const ContentTypeMultipartForm + const ContentTypeXML + func Decode(r *http.Request, v interface{}) error + func JSON(r *http.Request, v interface{}) error + func Register(contentType string, decoder Decoder) + func XML(r *http.Request, v interface{}) error + type Decoder func(req *http.Request, v interface{}) error + func NewForm(decoder *schema.Decoder) Decoder + func NewMultipartForm(maxMemory int64) Decoder + type Decoders map[string]Decoder + func New() *Decoders + func (d *Decoders) Decode(r *http.Request, v interface{}) error + func (d *Decoders) Register(contentType string, decoder Decoder) + type Validatable interface + Validate func() error