commit
141ddb10e5
@ -1,2 +1,24 @@ |
|||||||
# go-validate-yourself |
Package go-validate-yourself |
||||||
Go Struct and Field validation |
================ |
||||||
|
|
||||||
|
Package validator implements value validations for structs and individual fields based on tags. |
||||||
|
|
||||||
|
Installation |
||||||
|
============ |
||||||
|
|
||||||
|
Just use go get. |
||||||
|
|
||||||
|
go get gopkg.in/joeybloggs/go-validate-yourself.v1 |
||||||
|
|
||||||
|
or to update |
||||||
|
|
||||||
|
go get -u gopkg.in/joeybloggs/go-validate-yourself.v1 |
||||||
|
|
||||||
|
And then just import the package into your own code. |
||||||
|
|
||||||
|
import "gopkg.in/joeybloggs/go-validate-yourself.v1" |
||||||
|
|
||||||
|
Usage |
||||||
|
===== |
||||||
|
|
||||||
|
Please see http://godoc.org/gopkg.in/joeybloggs/go-validate-yourself.v1 for detailed usage docs. |
||||||
|
Loading…
Reference in new issue