Skip to content

Commit

Permalink
Add module support
Browse files Browse the repository at this point in the history
  • Loading branch information
snovichkov committed Aug 4, 2019
1 parent ff013cc commit 201fe7e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module github.com/gozix/universal-translator/v2

go 1.12

require (
github.com/go-playground/locales v0.12.1
github.com/go-playground/universal-translator v0.16.0
github.com/sarulabs/di/v2 v2.1.2
)
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-playground/locales v0.12.1 h1:2FITxuFt/xuCNP1Acdhv62OzaCiviiE4kotfhkmOqEc=
github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM=
github.com/go-playground/universal-translator v0.16.0 h1:X++omBR/4cE2MNg91AoC3rmGrCjJ8eAeUP/K/EKx4DM=
github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEKwgtJRd2xk99HeFyHw3yid4rvQIY=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sarulabs/di/v2 v2.1.2 h1:n7HWnjD5Pizgs4y62WOFqO1GJw3cHaKEJwIw+TAlV/U=
github.com/sarulabs/di/v2 v2.1.2/go.mod h1:9mRdg8AtTjdbiirq97MvLriE+jf6q/ZCLpO/nRyR/R0=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
4 changes: 2 additions & 2 deletions ut.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package ut
import (
"github.com/go-playground/locales"
"github.com/go-playground/locales/en"
"github.com/go-playground/universal-translator"
"github.com/sarulabs/di"
ut "github.com/go-playground/universal-translator"
"github.com/sarulabs/di/v2"
)

type (
Expand Down

0 comments on commit 201fe7e

Please sign in to comment.