diff --git a/baked_in.go b/baked_in.go index 23f76b3..9d38191 100644 --- a/baked_in.go +++ b/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()))