Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ValidateError ¶
type ValidateError struct { Field string // 验证不通过的属性 Valid string // 不通过的条件 ErrCode int // 不通过的错误码 }
ValidateError 验证错误提示
func (ValidateError) Error ¶
func (ve ValidateError) Error() string
Click to show internal directories.
Click to hide internal directories.