Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is the validate error
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator type
func (*Validator) Must ¶
Must checks x must not an error or true if bool and return true if valid
msg must be error or string msg can be nil if x is error
Click to show internal directories.
Click to hide internal directories.