a zero dependency performant validation library
go get github.com/aacebo/owl
schema := owl.String().Required()
if err := schema.Validate("..."); err != nil { // nil
panic(err)
}
Name | Status |
---|---|
Any | ✅ |
Bool | ✅ |
Float | ✅ |
Int | ✅ |
String | ✅ |
Object | ✅ |
Array | ✅ |
Time | ✅ |
Union | ✅ |
Custom Error Messages | ✅ |
Custom Rules | ✅ |