1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-05 19:27:05 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -169,7 +169,7 @@ func main() {
app.Listen(":8080")
}
func tr(ctx iris.Context, key string, args ...interface{}) {
func tr(ctx iris.Context, key string, args ...any) {
translation := ctx.Tr(key, args...)
ctx.Writef("<tr><td>%s</td><td>%s</td><td>%v</td></tr>\n", key, translation, args)
}

View File

@@ -125,7 +125,7 @@ LocalVarsHouseCount.Text=She has 4 houses
}
}
func tr(ctx iris.Context, key string, args ...interface{}) {
func tr(ctx iris.Context, key string, args ...any) {
translation := ctx.Tr(key, args...)
ctx.Writef("%s=%s\n", key, translation)
}