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