fix import avoid wrong type when apply custom translates.

pull/427/head
Anderson Guilherme Porto 6 years ago
parent 6079fcc186
commit 20357ae332
  1. 2
      translations/pt_BR/pt_BR.go
  2. 2
      translations/pt_BR/pt_BR_test.go

@ -10,7 +10,7 @@ import (
"github.com/go-playground/locales" "github.com/go-playground/locales"
ut "github.com/go-playground/universal-translator" ut "github.com/go-playground/universal-translator"
"github.com/go-playground/validator" "gopkg.in/go-playground/validator.v9"
) )
// RegisterDefaultTranslations registers a set of default translations // RegisterDefaultTranslations registers a set of default translations

@ -6,7 +6,7 @@ import (
brazilian_portuguese "github.com/go-playground/locales/pt_BR" brazilian_portuguese "github.com/go-playground/locales/pt_BR"
ut "github.com/go-playground/universal-translator" ut "github.com/go-playground/universal-translator"
"github.com/go-playground/validator" "gopkg.in/go-playground/validator.v9"
. "gopkg.in/go-playground/assert.v1" . "gopkg.in/go-playground/assert.v1"
) )

Loading…
Cancel
Save