Skip to content

Commit

Permalink
Update README.md (#765)
Browse files Browse the repository at this point in the history
fix #756

Undoes this pr? #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>
  • Loading branch information
BrianLeishman and Dean Karn authored Jul 26, 2021
1 parent f1befad commit 8cfa1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down

0 comments on commit 8cfa1e9

Please sign in to comment.