(typ string, actualLen, expectedLen int)
| 27 | } |
| 28 | |
| 29 | func formMinLenMsg(typ string, actualLen, expectedLen int) string { |
| 30 | return fmt.Sprintf("%s length is %d, should have at least %d chars", typ, actualLen, expectedLen) |
| 31 | } |
| 32 | |
| 33 | func formMaxLenDesc(typ string, actualLen, expectedLen int) string { |
| 34 | return fmt.Sprintf("%s length is %d, should have less than %d chars", typ, actualLen, expectedLen) |