ReportError reports an error just by passing the field and tag information NOTES: fieldName and structFieldName get appended to the existing namespace that validator is on. e.g. pass 'FirstName' or 'Names[0]' depending on the nesting tag can be an existing validation tag or just something you mak
(field interface{}, fieldName, structFieldName string, tag, param string)
| 53 | // tag can be an existing validation tag or just something you make up |
| 54 | // and process on the flip side it's up to you. |
| 55 | ReportError(field interface{}, fieldName, structFieldName string, tag, param string) |
| 56 | |
| 57 | // ReportValidationErrors reports an error just by passing ValidationErrors |
| 58 | // |
no outgoing calls