Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aacebo/owl
a zero dependency performant validation library
https://github.com/aacebo/owl
go golang performance validation zero-dependency
Last synced: 2 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T00:29:20.000Z (2 months ago)
- Last Synced: 2024-10-17T07:07:01.384Z (2 months ago)
- Topics: go, golang, performance, validation, zero-dependency
- Language: Go
- Homepage:
- Size: 402 KB
- Stars: 0
- 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
![Benchmarks](./assets/benchmarks.png)