Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)