mirror of
https://github.com/kataras/iris.git
synced 2026-01-27 13:55:56 +00:00
websocket: replace sync.Map with custom map[string]*connection. Add translate template function example. Fix ctx.HandlerName() does not return the end-dev-defined current route's name, this will give better warnings when using MVC in a wrong way
Former-commit-id: 38fda8a20da9bc7665cdd209b7b367c1337dbd94
This commit is contained in:
1
_examples/miscellaneous/i18n/templates/index.html
Normal file
1
_examples/miscellaneous/i18n/templates/index.html
Normal file
@@ -0,0 +1 @@
|
||||
{{call .tr "hi" "iris"}}
|
||||
Reference in New Issue
Block a user