error is always nil

pull/558/head
Nguyễn Văn Hưng 5 years ago
parent 691a5f5f25
commit da6897303a
  1. 2
      baked_in.go

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

Loading…
Cancel
Save