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

examples: add an example for #2019

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-12-17 01:16:10 +02:00
parent 1ea5cd58be
commit de8883fc98
6 changed files with 58 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ type Application struct {
minifier *minify.M
// view engine
view view.View
view *view.View
// used for build
builded bool
defaultMode bool
@@ -120,6 +120,7 @@ func New() *Application {
Router: router.NewRouter(),
I18n: i18n.New(),
minifier: newMinifier(),
view: new(view.View),
}
logger := newLogger(app)