Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIMEJSON = "application/json" MIMEMultipartPOSTForm = "multipart/form-data" )
Variables ¶
View Source
var ( JSON = jsonBinding{} Form = formBinding{} Query = queryBinding{} FormMultipart = formMultipartBinding{} Header = headerBinding{} )
View Source
var ( // ErrConvertMapStringSlice can not convert to map[string][]string ErrConvertMapStringSlice = errors.New("can not convert to map slices of strings") // ErrConvertToMapString can not convert to map[string]string ErrConvertToMapString = errors.New("can not convert to map of strings") )
View Source
var ( // ErrMultiFileHeader multipart.FileHeader invalid ErrMultiFileHeader = errors.New("unsupported field type for multipart.FileHeader") // ErrMultiFileHeaderLenInvalid array for []*multipart.FileHeader len invalid ErrMultiFileHeaderLenInvalid = errors.New("unsupported len of array for []*multipart.FileHeader") )
View Source
var EnableDecoderDisallowUnknownFields = false
View Source
var EnableDecoderUseNumber = false
Functions ¶
This section is empty.
Types ¶
type SliceValidationError ¶
type SliceValidationError []error
func (SliceValidationError) Error ¶
func (err SliceValidationError) Error() string
type StructValidator ¶
var Validator StructValidator = &defaultValidator{}
Click to show internal directories.
Click to hide internal directories.