This commit is contained in:
2023-04-20 11:17:35 +03:00
parent 84b64b7d80
commit 7d6cda7119
40 changed files with 1337 additions and 126 deletions

View File

@@ -187,6 +187,10 @@ func errorMessage(fe validator.FieldError) string {
fe.Field(),
joinValues(sepFieldTypeValues))
case "hwPath":
return fmt.Sprintf("%s %s must be in format 0000:1f:2b.0",
prefix,
fe.Field())
}
return fe.Error()