switch to Go modules

This commit is contained in:
Dawid Dziurla
2019-08-26 16:53:38 +02:00
committed by Jesse Duffield
parent 827837b0b9
commit e0dd1cb29d
517 changed files with 109058 additions and 25541 deletions

View File

@@ -87,7 +87,7 @@ func detectLanguage(langDetector func() (string, error)) string {
// setupLocalizer creates a new localizer using given userLang
func setupLocalizer(log *logrus.Entry, userLang string) *Localizer {
// create a i18n bundle that can be used to add translations and other things
i18nBundle := &i18n.Bundle{DefaultLanguage: language.English}
i18nBundle := i18n.NewBundle(language.English)
addBundles(log, i18nBundle)