goadesign / plugins

A collection of plugins for Goa.
https://goa.design
MIT License
68 stars 34 forks source link

Add unicode/utf8 to types imports #125

Closed plunkettscott closed 2 years ago

plunkettscott commented 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.

raphael commented 2 years ago

Thank you!