Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
Required bool `alias:"required"`
Min float64 `alias:"min"`
Max float64 `alias:"max"`
MinLength int `alias:"min_length"`
MaxLength int `alias:"max_length"`
Length int `alias:"length"`
Enums string `alias:"enums"`
Regex string `alias:"regex"`
Message string `alias:"message"`
}
Item struct
type Result ¶
type Result struct {
StructPtr interface{}
Passed bool
Items []*ResultItem
}
Result struct
type ResultItem ¶
type ResultItem struct {
Field *reflect.StructField
Passed bool
Message string
}
ResultItem struct
Click to show internal directories.
Click to hide internal directories.