v15.5.0
v15.5.0
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user