StructNamespace returns the namespace for the field error, with the field's actual name. eg. "User.FirstName" see Namespace for comparison NOTE: this field can be blank when validating a single primitive field using validate.Field(...) as there is no way to extract its name
()
| 110 | // NOTE: this field can be blank when validating a single primitive field |
| 111 | // using validate.Field(...) as there is no way to extract its name |
| 112 | StructNamespace() string |
| 113 | |
| 114 | // Field returns the field's name with the tag name taking precedence over the |
| 115 | // field's actual name. |
no outgoing calls