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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user