Closed plunkettscott closed 2 years ago
When generating validation methods for types that include a MinLength and MaxLength, the unicode/utf8 package is used to validate string lengths. This PR adds it to the list of imports so that the code is functional when generated.
MinLength
MaxLength
unicode/utf8
Thank you!
When generating validation methods for types that include a
MinLength
andMaxLength
, theunicode/utf8
package is used to validate string lengths. This PR adds it to the list of imports so that the code is functional when generated.