mirror of
https://github.com/kataras/iris.git
synced 2026-07-31 08:29:50 +00:00
update dependencies
This commit is contained in:
@@ -160,7 +160,7 @@ func (loc *Locale) Language() string {
|
||||
}
|
||||
|
||||
// GetMessage should return translated text based on the given "key".
|
||||
func (loc *Locale) GetMessage(key string, args ...interface{}) string {
|
||||
func (loc *Locale) GetMessage(key string, args ...any) string {
|
||||
if msg, ok := loc.Messages[key]; ok {
|
||||
result, err := msg.Render(args...)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user