This commit is contained in:
dayterr
2025-12-23 17:49:46 +03:00
parent aac7108d8a
commit a59feae2f2
31 changed files with 133 additions and 69 deletions

View File

@@ -366,6 +366,12 @@ func errorMessage(fe validator.FieldError) string {
prefix,
fe.Field(),
joinValues(ipTypeValues))
case "sepTechStatus":
return fmt.Sprintf("%s %s must be one of the following: %s",
prefix,
fe.Field(),
joinValues(sepTechStatusValues))
}
return fe.Error()