From 2a5220c52801ebf7dcd500902f2261e0666e720a Mon Sep 17 00:00:00 2001 From: "marko.tikvic" Date: Thu, 12 Jul 2018 15:02:18 +0200 Subject: [PATCH] localisation is automatically read from directory --- localization.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/localization.go b/localization.go index 4cf0df6..69eb7e5 100644 --- a/localization.go +++ b/localization.go @@ -3,7 +3,6 @@ package webutility import ( "encoding/json" "errors" - "fmt" "io/ioutil" "path" "strings" @@ -39,10 +38,6 @@ func (d *Dictionary) AddTranslations(directory string) error { loc := stripFileExtension(fName) - fmt.Println(fName, path, loc) - - break - var data interface{} err = json.Unmarshal(file, &data) if err != nil { -- 1.8.1.2