Skip to content

Commit 8cfa1e9

Browse files
BrianLeishmanDean Karn
andauthored
Update README.md (#765)
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 <[email protected]>
1 parent f1befad commit 8cfa1e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Installation
2727

2828
Use go get.
2929

30-
go get github.com/go-playground/validator
30+
go get github.com/go-playground/validator/v10
3131

3232
Then import the validator package into your own code.
3333

34-
import "github.com/go-playground/validator"
34+
import "github.com/go-playground/validator/v10"
3535

3636
Error Return Value
3737
-------

0 commit comments

Comments
 (0)