Skip to content

Commit 37d5f82

Browse files
committed
Update validator.go
1 parent 5b6e937 commit 37d5f82

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

validator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,8 @@ func IsLongitude(str string) bool {
529529
return rxLongitude.MatchString(str)
530530
}
531531

532-
// ValidateStruct use tags for fields
532+
// ValidateStruct use tags for fields.
533+
// result will be equal to `false` if there are any errors.
533534
func ValidateStruct(s interface{}) (bool, error) {
534535
if s == nil {
535536
return true, nil

0 commit comments

Comments
 (0)