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