Validate
ozzo-validation
Our great sponsors
Validate | ozzo-validation | |
---|---|---|
0 | 7 | |
550 | 2,701 | |
3.3% | 3.6% | |
7.4 | 0.0 | |
7 days ago | 4 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Validate
We haven't tracked posts mentioning Validate yet.
Tracking mentions began in Dec 2020.
ozzo-validation
-
Gin vs Echo framework
Gin comes with built-in "validation", while Echo recommends the same validator. I am also not a fan of magic struct tags, so I would probably prefer either writing my own or using something like ozzo.
-
What type of software do you write at your workplace?
Other packages of note: https://github.com/uber-go/zap https://github.com/go-ozzo/ozzo-validation
-
is there any package to generate validation code for struct instead of using reflect (tags)?
Does https://github.com/go-ozzo/ozzo-validation meet your requirements?
-
How do you validate your structures?
Have you looked at this library?
https://github.com/go-ozzo/ozzo-validation/blob/v3.6.0/struct.go#L61
- Are we still using struct tags for input validation?
What are some alternatives?
validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
govalidator - [Go] Package of validators and sanitizers for strings, numerics, slices and structs
Password validator library for Go - Flexible and customizable password validation
postcode - Small Golang package for validating postal codes
jio - jio is a json schema validator similar to joi
govalid - Struct validation using tags
protoc-gen-validate - protoc plugin to generate polyglot message validators
jsonschema - JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go
ozzo-routing - An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.