This commit is contained in:
arsvolkov committed 2026-07-31 16:47:20 +04:00
1 parent fe413c7182
commit f61319c21b
8 files changed
+68 -20

No files matched your search

+4
View File
@@ -350,6 +350,10 @@ func isBoolTypeValidator(fe validator.FieldLevel) bool {
return fe.Field().CanConvert(reflect.TypeOf(true))
}
func isStringTypeValidator(fe validator.FieldLevel) bool {
return fe.Field().Kind() == reflect.String
}
func urlValidartor(fl validator.FieldLevel) bool {
fieldValues := fl.Field().String()