From dbcc5d8a972f4f169e9e2c0636450555a06152b9 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 24 Aug 2018 21:51:50 -0700 Subject: Use canonical imports --- locale/doc.go | 2 +- locale/language.go | 2 +- locale/locale.go | 4 ++-- locale/locale_test.go | 2 +- locale/plurals.go | 2 +- locale/translations.go | 2 +- locale/translator.go | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'locale') diff --git a/locale/doc.go b/locale/doc.go index 5e92c6f..2602cc7 100644 --- a/locale/doc.go +++ b/locale/doc.go @@ -7,4 +7,4 @@ Package locale handles the internationalization of the application. */ -package locale +package locale // import "miniflux.app/locale" diff --git a/locale/language.go b/locale/language.go index b63976c..2146960 100644 --- a/locale/language.go +++ b/locale/language.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package locale +package locale // import "miniflux.app/locale" import "fmt" diff --git a/locale/locale.go b/locale/locale.go index c76ad8a..64d3b86 100755 --- a/locale/locale.go +++ b/locale/locale.go @@ -2,9 +2,9 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package locale +package locale // import "miniflux.app/locale" -import "github.com/miniflux/miniflux/logger" +import "miniflux.app/logger" // Translation is the translation mapping table. type Translation map[string]interface{} diff --git a/locale/locale_test.go b/locale/locale_test.go index baddd1e..28e2a80 100644 --- a/locale/locale_test.go +++ b/locale/locale_test.go @@ -1,7 +1,7 @@ // Copyright 2017 Frédéric Guillot. All rights reserved. // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package locale +package locale // import "miniflux.app/locale" import "testing" diff --git a/locale/plurals.go b/locale/plurals.go index d94f238..c4e47cf 100644 --- a/locale/plurals.go +++ b/locale/plurals.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package locale +package locale // import "miniflux.app/locale" // See https://localization-guide.readthedocs.io/en/latest/l10n/pluralforms.html // And http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html diff --git a/locale/translations.go b/locale/translations.go index 962e091..c1174e4 100755 --- a/locale/translations.go +++ b/locale/translations.go @@ -1,6 +1,6 @@ // Code generated by go generate; DO NOT EDIT. -package locale +package locale // import "miniflux.app/locale" var translations = map[string]string{ "de_DE": `{ diff --git a/locale/translator.go b/locale/translator.go index 18206b0..dff8b2c 100644 --- a/locale/translator.go +++ b/locale/translator.go @@ -2,7 +2,7 @@ // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. -package locale +package locale // import "miniflux.app/locale" import ( "encoding/json" -- cgit v1.2.3