/valigo

Valigo is a powerfull, zero allocations validation engine with localizations, conditions and custom validation functions support. Currently in WIP

Primary LanguageGoApache License 2.0Apache-2.0

codecov build Goreport GoDoc

Valigo

Valigo is a powerfull, zero allocations validation engine with localizations, conditions and custom validation functions support.

Features

  • Conditinal validation
  • Custom validation functions
  • Localizations
  • Zero allocations
  • Configured using pointers to structure fields

Roadmap

  • Zero allocations on valid structs
  • On Field Conditional validation
  • On Field Custom validation
  • On Struct Conditional validation
  • On Struct Custom validation
  • Error translations
  • Strings (MaxLen, MinLen, Required, Regexp Pattern, AnyOf, Custom) and Strings Slices validation
  • UUID and UUID Slices validation
  • Num Validation (int(8,16,32,64), uint(8,16,32,64))
  • Float validation
  • Other default types validations
  • Create validation rules based on default validations tags