field constraints support #58
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
some fields not only must have iso8583 types, but also must conform to some other stuff like len of field, or number of spaces or digits , may be cool to add Validate func(field.Field) error to spec?
So after we fill the fields and Validate func not nil we can call it and get reasonable error if it present?
Also we can create predefined funcs as example for date time fields for example...
i think that this will be cool
The text was updated successfully, but these errors were encountered: