ReportValidationErrors accepts the key relative to the top level struct and validatin errors. Example: had a triple nested struct User, ContactInfo, Country and ran errs := validate.Struct(country) from within a User struct level validation would call this method like so: ReportValidationErrors("ContactInfo.", errs) NOTE: relativeKey can contain both the Field Relative and Custom name relative paths i.e. ReportValidationErrors("ContactInfo.|cInfo", errs) where cInfo represents say the JSON name of the relative path; this will be split into 2 variables in the next valiator version.

ReportValidationErrors is referenced in 0 repositories