mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 19:37:03 +00:00
Fix history big mistakes, point links to /v6 tag only https://github.com/kataras/iris/issues/606
Former-commit-id: e0a7ce1a991e5d6600de6cc0a853ef8b1cb8d282
This commit is contained in:
@@ -71,8 +71,8 @@ Edit your main .go source file to adapt one of these routers and restart your ap
|
||||
i.e: lines (<---) were missing.
|
||||
----------------------------HTTPROUTER----------------------------------
|
||||
import (
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/adaptors/httprouter" // <--- this line
|
||||
"gopkg.in/kataras/iris.v6"
|
||||
"gopkg.in/kataras/iris.v6/adaptors/httprouter" // <--- this line
|
||||
)
|
||||
|
||||
func main(){
|
||||
@@ -90,8 +90,8 @@ Edit your main .go source file to adapt one of these routers and restart your ap
|
||||
----------------------------OR GORILLA MUX-------------------------------
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/adaptors/gorillamux" // <--- or this line
|
||||
"gopkg.in/kataras/iris.v6"
|
||||
"gopkg.in/kataras/iris.v6/adaptors/gorillamux" // <--- or this line
|
||||
)
|
||||
|
||||
func main(){
|
||||
|
||||
Reference in New Issue
Block a user