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

add support for the go standard embed tag for locale files

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-09-23 01:28:47 +03:00
parent fd1db640a0
commit 4cd0621018
14 changed files with 230 additions and 57 deletions

View File

@@ -28,6 +28,7 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- Support of embedded [locale files](https://github.com/kataras/iris/blob/master/_examples/i18n/template-embedded/main.go) using standard `embed.FS` with the new `LoadFS` function.
- Support of direct embedded view templates with `embed.FS` or `fs.FS` (in addition to `string` and `http.FileSystem` types).
- Add `iris.Patches()` package-level function to customize Iris Request Context REST (and more to come) behavior.