1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 21:15:56 +00:00

simplify some examples

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-11-07 12:49:14 +02:00
parent 7a19cfb211
commit 7b6a8f1e26
17 changed files with 55 additions and 172 deletions

View File

@@ -365,7 +365,7 @@ func (i *I18n) getLocaleMessage(loc context.Locale, langInput string, key string
}
if msg == "" && i.DefaultMessageFunc != nil {
msg = i.DefaultMessageFunc(langInput, langMatched, key, args)
msg = i.DefaultMessageFunc(langInput, langMatched, key, args...)
}
return