mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
minor: examples
This commit is contained in:
@@ -33,16 +33,3 @@ func hi(ctx iris.Context) {
|
||||
// ctx.ViewData("", myCcustomStruct{})
|
||||
ctx.View("hi.html")
|
||||
}
|
||||
|
||||
/*
|
||||
Note:
|
||||
|
||||
In case you're wondering, the code behind the view engines derives from the "github.com/kataras/iris/v12/view" package,
|
||||
access to the engines' variables can be granded by "github.com/kataras/iris/v12" package too.
|
||||
|
||||
iris.HTML(...) is a shortcut of view.HTML(...)
|
||||
iris.Django(...) >> >> view.Django(...)
|
||||
iris.Pug(...) >> >> view.Pug(...)
|
||||
iris.Handlebars(...) >> >> view.Handlebars(...)
|
||||
iris.Amber(...) >> >> view.Amber(...)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user