https://github.com/aacebo/owl
a zero dependency performant validation library
https://github.com/aacebo/owl
go golang performance validation zero-dependency
Last synced: about 1 month ago
JSON representation
a zero dependency performant validation library
- Host: GitHub
- URL: https://github.com/aacebo/owl
- Owner: aacebo
- License: mit
- Created: 2022-07-29T20:34:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T22:09:40.000Z (7 months ago)
- Last Synced: 2025-03-29T08:51:13.077Z (2 months ago)
- Topics: go, golang, performance, validation, zero-dependency
- Language: Go
- Homepage:
- Size: 671 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
a zero dependency performant validation library# Install
```bash
go get github.com/aacebo/owl
```# Usage
```go
schema := owl.String().Required()if err := schema.Validate("..."); err != nil { // nil
panic(err)
}
```# Features
| Name | Status |
|----------------------------|---------------------|
| Any | ✅ |
| Bool | ✅ |
| Float | ✅ |
| Int | ✅ |
| String | ✅ |
| Object | ✅ |
| Array | ✅ |
| Time | ✅ |
| Union | ✅ |
| Custom Error Messages | ✅ |
| Custom Rules | ✅ |# Benchmarks
