Versions in this module Expand all Collapse all v0 v0.5.0 Feb 26, 2021 Changes in this version + func Init(locale string, register map[string]*Register) (err error) + func Struct(data interface{}) error + type Register struct + Func func(validator.FieldLevel) bool + Msg string + type ValidationError struct + ErrMsg []string + func GetMsg(err error) *ValidationError + func NewValidationError(errMap map[string]string) *ValidationError + func (r *ValidationError) Error() string