File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 66 "reflect"
77 "strings"
88
9- "github.com/go-playground/universal-translator"
9+ ut "github.com/go-playground/universal-translator"
1010)
1111
1212const (
Original file line number Diff line number Diff line change 44 "fmt"
55
66 "github.com/go-playground/locales/en"
7- "github.com/go-playground/universal-translator"
7+ ut "github.com/go-playground/universal-translator"
88 "gopkg.in/go-playground/validator.v9"
99 en_translations "gopkg.in/go-playground/validator.v9/translations/en"
1010)
Original file line number Diff line number Diff line change 11package validator
22
3- import "github.com/go-playground/universal-translator"
3+ import ut "github.com/go-playground/universal-translator"
44
55// TranslationFunc is the function type used to register or override
66// custom translations
Original file line number Diff line number Diff line change 99 "time"
1010
1111 "github.com/go-playground/locales"
12- "github.com/go-playground/universal-translator"
12+ ut "github.com/go-playground/universal-translator"
1313 "gopkg.in/go-playground/validator.v9"
1414)
1515
Original file line number Diff line number Diff line change 55 "time"
66
77 english "github.com/go-playground/locales/en"
8- "github.com/go-playground/universal-translator"
8+ ut "github.com/go-playground/universal-translator"
99 . "gopkg.in/go-playground/assert.v1"
1010 "gopkg.in/go-playground/validator.v9"
1111)
Original file line number Diff line number Diff line change 88 "sync"
99 "time"
1010
11- "github.com/go-playground/universal-translator"
11+ ut "github.com/go-playground/universal-translator"
1212)
1313
1414const (
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
1515 "github.com/go-playground/locales/en"
1616 "github.com/go-playground/locales/fr"
1717 "github.com/go-playground/locales/nl"
18- "github.com/go-playground/universal-translator"
18+ ut "github.com/go-playground/universal-translator"
1919)
2020
2121// NOTES:
You can’t perform that action at this time.
0 commit comments