mirror of
https://github.com/Fishwaldo/validator.git
synced 2025-03-15 11:41:32 +00:00
Update README.md (#765)
fix https://github.com/go-playground/validator/issues/756 Undoes this pr? https://github.com/go-playground/validator/pull/710 Running `go get github.com/go-playground/validator/v10` definitely seems to be the right command. Go getting without the version pulls 9 or just the master. Also importing without the version does not use the current version (v10 at the time of this pr) Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
This commit is contained in:
parent
f1befad848
commit
8cfa1e93b6
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ Installation
|
|||
|
||||
Use go get.
|
||||
|
||||
go get github.com/go-playground/validator
|
||||
go get github.com/go-playground/validator/v10
|
||||
|
||||
Then import the validator package into your own code.
|
||||
|
||||
import "github.com/go-playground/validator"
|
||||
import "github.com/go-playground/validator/v10"
|
||||
|
||||
Error Return Value
|
||||
-------
|
||||
|
|
Loading…
Add table
Reference in a new issue