An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags. Pozzo-validation is a Go package that provides configurable and extensible data validation capabilities. It has the following features. Use normal programming constructs rather than error-prone struct tags to specify how data should be validated. Can validate data of different types, e.g., structs, strings, byte slices, slices, maps, and arrays. Can validate custom data types as long as they implement the Validatable interface. Can validate data types that implement the sql.Valuer interface (e.g. sql.NullString). Customizable and well-formatted validation errors. Error code and message translation support. Provide a rich set of validation rules right out of the box. Extremely easy to create and use custom validation rules.

Features

  • Can validate data of different types, e.g., structs, strings, byte slices, slices, maps, arrays
  • Can validate custom data types as long as they implement the Validatable interface
  • Error code and message translation support
  • Provide a rich set of validation rules right out of box
  • Extremely easy to create and use custom validation rules
  • Can validate custom data types as long as they implement the Validatable interface

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow ozzo-validation

ozzo-validation Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ozzo-validation!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-17