v15.5.0
This commit is contained in:
dayterr committed 2026-07-10 15:44:33 +03:00
1 parent 55fe76d12e
commit 0595b5ae39
15 files changed
+571 -100

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",