Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomKeys = map[string]string{}
Functions ¶
func GenerateKey ¶
Types ¶
type BytesArePresent ¶
func (*BytesArePresent) IsValid ¶
func (v *BytesArePresent) IsValid(errors *validate.Errors)
type FuncValidator ¶
func (*FuncValidator) IsValid ¶
func (f *FuncValidator) IsValid(verrs *validate.Errors)
type IntArrayIsPresent ¶
func (*IntArrayIsPresent) IsValid ¶
func (v *IntArrayIsPresent) IsValid(errors *validate.Errors)
type IntIsPresent ¶
func (*IntIsPresent) IsValid ¶
func (v *IntIsPresent) IsValid(errors *validate.Errors)
type RegexMatch ¶
RegexMatch specifies the properties needed by the validation.
func (*RegexMatch) IsValid ¶
func (v *RegexMatch) IsValid(errors *validate.Errors)
IsValid performs the validation based on the regexp match.
type StringInclusion ¶
func (*StringInclusion) IsValid ¶
func (v *StringInclusion) IsValid(errors *validate.Errors)
type StringIsPresent ¶
func (*StringIsPresent) IsValid ¶
func (v *StringIsPresent) IsValid(errors *validate.Errors)
type TimeIsBeforeTime ¶
type TimeIsBeforeTime struct { FirstName string FirstTime time.Time SecondName string SecondTime time.Time }
func (*TimeIsBeforeTime) IsValid ¶
func (v *TimeIsBeforeTime) IsValid(errors *validate.Errors)
type TimeIsPresent ¶
func (*TimeIsPresent) IsValid ¶
func (v *TimeIsPresent) IsValid(errors *validate.Errors)
Click to show internal directories.
Click to hide internal directories.