diff --git a/text.go b/text.go index 2c351f6..edac8d6 100644 --- a/text.go +++ b/text.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "net/http" "golang.org/x/text/language" @@ -51,7 +50,6 @@ var languageMatcher = language.NewMatcher([]language.Tag{ }) func GetText(r *http.Request) *Text { - fmt.Println(r.Header.Get("Accept-Language")) lang, _ := language.MatchStrings(languageMatcher, r.Header.Get("Accept-Language")) text := Languages[lang] base, _ := lang.Base()