We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6e937 commit 37d5f82Copy full SHA for 37d5f82
1 file changed
validator.go
@@ -529,7 +529,8 @@ func IsLongitude(str string) bool {
529
return rxLongitude.MatchString(str)
530
}
531
532
-// ValidateStruct use tags for fields
+// ValidateStruct use tags for fields.
533
+// result will be equal to `false` if there are any errors.
534
func ValidateStruct(s interface{}) (bool, error) {
535
if s == nil {
536
return true, nil
0 commit comments