mirror of
https://github.com/astaxie/beego.git
synced 2025-06-13 18:00:40 +00:00
fix init error of global instance
This commit is contained in:
@ -39,7 +39,7 @@ import (
|
||||
var globalRouterTemplate = `package {{.routersDir}}
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
beego "github.com/astaxie/beego/server/web"
|
||||
"github.com/astaxie/beego/server/web/context/param"{{.globalimport}}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user