mirror of
https://github.com/kataras/iris.git
synced 2026-01-05 19:27:05 +00:00
update dependencies
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user