Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
Array validates array length.
func (*Array) SetMaxLength ¶
SetMaxLength sets MaxLength validation.
func (*Array) SetMinLength ¶
SetMinLength sets MinLength validation.
func (Array) ValidateLength ¶
ValidateLength returns error if array length v is invalid.
type FieldError ¶
FieldError is failed validation on field.
type Int ¶
type Int struct { MultipleOf int MultipleOfSet bool Min int64 MinSet bool MinExclusive bool Max int64 MaxSet bool MaxExclusive bool }
Int validates integers.
func (*Int) SetExclusiveMaximum ¶
func (*Int) SetExclusiveMinimum ¶
func (*Int) SetMaximum ¶
func (*Int) SetMinimum ¶
func (*Int) SetMultipleOf ¶
Click to show internal directories.
Click to hide internal directories.