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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user