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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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