mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c. Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package main
|
||||
|
||||
import "github.com/kataras/iris"
|
||||
import "github.com/kataras/iris/v12"
|
||||
|
||||
func main() {
|
||||
app := iris.New()
|
||||
@@ -26,8 +26,8 @@ func main() {
|
||||
/*
|
||||
Note:
|
||||
|
||||
In case you're wondering, the code behind the view engines derives from the "github.com/kataras/iris/view" package,
|
||||
access to the engines' variables can be granded by "github.com/kataras/iris" package too.
|
||||
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(...)
|
||||
|
||||
Reference in New Issue
Block a user