From d4b682a573c368371e37f3941ec58381ffa8fc5f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 7 Dec 2014 11:30:53 +0800 Subject: [PATCH] refactor --- i18n/locales.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/locales.go b/i18n/locales.go index a339207..fc60433 100644 --- a/i18n/locales.go +++ b/i18n/locales.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Internationalization manipulations. +// Package i18n includes internationalization related manipulations. package i18n import ( @@ -86,7 +86,7 @@ func GetAll(locale string) map[string]interface{} { func GetLocalesNames() []string { ret := []string{} - for name, _ := range Locales { + for name := range Locales { ret = append(ret, name) }