mirror of
https://github.com/kataras/iris.git
synced 2025-12-26 06:17:03 +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,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/v12"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -37,8 +37,8 @@ func hi(ctx iris.Context) {
|
||||
/*
|
||||
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