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:
Brian Leishman 2021-07-26 00:08:41 -04:00 committed by GitHub
parent f1befad848
commit 8cfa1e93b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
-------