mirror of
https://github.com/Fishwaldo/validator.git
synced 2025-07-09 06:32:32 +00:00
update README
This commit is contained in:
parent
5131e5e189
commit
cb3aebb901
1 changed files with 24 additions and 2 deletions
26
README.md
26
README.md
|
@ -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…
Add table
Add a link
Reference in a new issue