File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ Go Doc] ( https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square )] ( https://godoc.org/github.com/metafates/schema )
4
4
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/metafates/schema )] ( https://goreportcard.com/report/github.com/metafates/schema )
5
5
6
- > Work in progress!
7
-
8
6
<img src =" https://github.com/user-attachments/assets/54aafdf2-df4d-4b92-9a46-37bc59d99e6e " align =" right " width =300 />
9
7
10
8
Go schema declaration and validation with static types.
@@ -15,14 +13,12 @@ The goal is to eliminate duplicative type declarations.
15
13
You declare a schema once and it will be used as both schema and type itself.
16
14
It's easy to compose simpler types into complex data structures.
17
15
18
- No stable version yet, but you can use it like that.
16
+ Install:
19
17
20
18
``` bash
21
- go get github.com/metafates/schema@main
19
+ go get github.com/metafates/schema
22
20
```
23
21
24
- ** Work in progress, API may change significantly without further notice!**
25
-
26
22
## Features
27
23
28
24
- Type-safe
@@ -386,7 +382,7 @@ BenchmarkUnmarshalJSON/codegen/without_validation-12 45649 ns/op
386
382
## TODO
387
383
388
384
- [x] Support for manual construction (similar to ` .parse(...) ` in zod) (using codegen)
389
- - [ ] Stabilize API
385
+ - [x ] Stabilize API
390
386
- [x] Better documentation
391
387
- [x] More tests
392
388
- [x] Improve performance. It should not be a bottleneck for most usecases, especially for basic CRUD apps. Still, there is a room for improvement!
You can’t perform that action at this time.
0 commit comments