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
Simplify Purchasing For Your Business Icon
Simplify Purchasing For Your Business

Manage what you buy and how you buy it with Order.co, so you have control over your time and money spent.

Simplify every aspect of buying for your business in Order.co. From sourcing products to scaling purchasing across locations to automating your AP and approvals workstreams, Order.co is the platform of choice for growing businesses.
Learn More
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