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

i18n: add the ability to register template funcs per locale

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-10 06:22:53 +03:00
parent a1f7f57922
commit 59b8ddf5be
6 changed files with 59 additions and 27 deletions

View File

@@ -159,6 +159,9 @@ type (
//
// An alias for the `context.N`.
N = context.N
// Locale describes the i18n locale.
// An alias for the `context.Locale`.
Locale = context.Locale
)
// Constants for input argument at `router.RouteRegisterRule`.