diff --git a/translations/es/es.go b/translations/es/es.go index eb57090..2b87f10 100644 --- a/translations/es/es.go +++ b/translations/es/es.go @@ -10,7 +10,7 @@ import ( "github.com/go-playground/locales" ut "github.com/go-playground/universal-translator" - "gopkg.in/go-playground/validator.v10" + "github.com/go-playground/validator/v10" ) // RegisterDefaultTranslations registers a set of default translations diff --git a/translations/es/es_test.go b/translations/es/es_test.go index 24a60bc..070e3a8 100644 --- a/translations/es/es_test.go +++ b/translations/es/es_test.go @@ -6,8 +6,8 @@ import ( spanish "github.com/go-playground/locales/es" ut "github.com/go-playground/universal-translator" - . "gopkg.in/go-playground/assert.v1" - "gopkg.in/go-playground/validator.v10" + . "github.com/go-playground/assert/v2" + "github.com/go-playground/validator/v10" ) func TestTranslations(t *testing.T) {