/boat

Define and evaluate text/numeric constraints on values in Go. Heavy WIP.

Primary LanguageGoMIT LicenseMIT

boat

MIT License go.dev reference Discord Chat

Heavy WIP. Come back later.

Benchmarks

$ cat /proc/cpuinfo | grep 'model name' | uniq
model name : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

$ go test -bench=. -benchtime=10s
goos: linux
goarch: amd64
pkg: github.com/lithdew/boat
BenchmarkRule-8         64496198               186 ns/op               0 B/op          0 allocs/op