1
0
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:
Ming Deng
2020-11-05 22:00:43 +08:00
parent 471ebba64d
commit b4396c97bb
4 changed files with 12 additions and 15 deletions

View File

@ -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}}
)