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

+2
View File
@@ -27,6 +27,8 @@ func errorMessage(fe validator.FieldError) string {
return fmt.Sprintf("%s %s: unexpected E-Mail format", prefix, fe.Field())
case "isBool":
return fmt.Sprintf("%s %s: must be bool type", prefix, fe.Field())
case "isString":
return fmt.Sprintf("%s %s: must be string type", prefix, fe.Field())
case "accessType":
return fmt.Sprintf("%s %s must be one of the following: %s",