gody v1.0.0 Release Notes
Release Date: 2020-02-08 // about 4 years ago-
๐ Support validations
- Shallow validate (Validation on first layer from struct)
- Deep validate (Validation on behind of first layers from struct)
- Slice validate (Validation with slice or array in any level from struct)
๐ Support rules
- Required (Verified if the field got some value)
- Enum (Verified the field if given some default values the got value is equals which one)
- Min (Verified if the field got some value higher that given parameter)
- Max (Verified if the field got some value less that given parameter)
- Min bound (Verified if the field got some string length higher that given parameter)
- Max bound (Verified if the field got some string length less that given parameter)
๐ Support custom rules to validate