From 323058eea81f65119c15564a0286fac317e6c283 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sat, 27 Nov 2021 11:59:43 +0800 Subject: [PATCH] mod: update unknwon.dev/i18n (#6) --- go.mod | 2 +- go.sum | 4 ++-- i18n.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 2aa9685..e4a54af 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.16 require ( github.com/flamego/flamego v0.0.0-20210831044743-573bf1411fd9 - github.com/go-i18n/i18n v0.0.0-20210912133738-0075763f4213 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.7.0 golang.org/x/text v0.3.7 + unknwon.dev/i18n v1.0.0 ) diff --git a/go.sum b/go.sum index f2223ee..6163822 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,6 @@ github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/flamego/flamego v0.0.0-20210831044743-573bf1411fd9 h1:USv46KEornQvE4ppsmtL0qMkFeJq1XOFoojVW7yXCXY= github.com/flamego/flamego v0.0.0-20210831044743-573bf1411fd9/go.mod h1:apiAxIxeHujHFX4Yr0BHmQFJuZUM07XztdQSChbeuPw= -github.com/go-i18n/i18n v0.0.0-20210912133738-0075763f4213 h1:JFz/V97k8wKkUusAP9VjrkE1wxG3FXKMSFCThK7EbxQ= -github.com/go-i18n/i18n v0.0.0-20210912133738-0075763f4213/go.mod h1:zgahFGkaQYuAMZ8+Eu4OYeaKo5xTeePneZZ63rTAFTs= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= @@ -49,3 +47,5 @@ gopkg.in/ini.v1 v1.62.1/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +unknwon.dev/i18n v1.0.0 h1:DIWlXr9Yqu610HURaWsJHANnQtHDp4ZQF6RH5xoQnFU= +unknwon.dev/i18n v1.0.0/go.mod h1:rXF2f8Qf+2rJGj4jKU/ubNOEio9MthgRoI34Igc3xVk= diff --git a/i18n.go b/i18n.go index c982a06..74a4e4b 100644 --- a/i18n.go +++ b/i18n.go @@ -12,9 +12,9 @@ import ( "path" "reflect" - "github.com/go-i18n/i18n" "github.com/pkg/errors" "golang.org/x/text/language" + "unknwon.dev/i18n" "github.com/flamego/flamego" )