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>
pull/801/head
Brian Leishman 3 years ago committed by GitHub
parent f1befad848
commit 8cfa1e93b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

@ -27,11 +27,11 @@ Installation
Use go get. 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. 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 Error Return Value
------- -------

Loading…
Cancel
Save