From 8cfa1e93b6177d5738e9046b74e06a62cd4f77ed Mon Sep 17 00:00:00 2001 From: Brian Leishman Date: Mon, 26 Jul 2021 00:08:41 -0400 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28975a6..7dcc5af 100644 --- a/README.md +++ b/README.md @@ -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 -------