GithubHelp home page GithubHelp logo

go-validator's Introduction

go-validator

GoDoc Reference CircleCI codecov Go Report Card GitHub release

go-validator is a data validation library for Go.

Installation

go get -u github.com/utahta/go-validator

Benchmarks

3.2 GHz Intel Core i7, 64 GB 2667 MHz DDR4

goos: darwin
goarch: amd64
pkg: github.com/utahta/go-validator
BenchmarkValidateVarSuccess-12                          30000000                58.0 ns/op             0 B/op          0 allocs/op
BenchmarkValidateVarParallelSuccess-12                  100000000               12.3 ns/op             0 B/op          0 allocs/op
BenchmarkValidateStructSuccess-12                       10000000               184 ns/op               0 B/op          0 allocs/op
BenchmarkValidateStructParallelSuccess-12               50000000                37.1 ns/op             0 B/op          0 allocs/op
BenchmarkValidateStructComplexSuccess-12                 1000000              1112 ns/op              32 B/op          3 allocs/op
BenchmarkValidateStructComplexParallelSuccess-12        10000000               222 ns/op              32 B/op          3 allocs/op
BenchmarkValidateVarFailure-12                          10000000               187 ns/op             224 B/op          3 allocs/op
BenchmarkValidateStructComplexFailure-12                  500000              3740 ns/op            3760 B/op         60 allocs/op
BenchmarkValidateStructComplexParallelFailure-12         1000000              1117 ns/op            3760 B/op         60 allocs/op

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.