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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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