Merge pull request #558 from whatvn/master

error is always nil
pull/564/head
Dean Karn 5 years ago committed by GitHub
commit ae15ced5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      baked_in.go

@ -1178,7 +1178,7 @@ func isURL(fl FieldLevel) bool {
return false return false
} }
return err == nil return true
} }
panic(fmt.Sprintf("Bad field type %T", field.Interface())) panic(fmt.Sprintf("Bad field type %T", field.Interface()))

Loading…
Cancel
Save