mirror of
https://github.com/beego/bee.git
synced 2025-07-05 03:00:17 +00:00
using beego to rerwite all commands
This commit is contained in:
@ -78,7 +78,7 @@ func GenerateController(cname, currpath string) {
|
||||
var controllerTpl = `package {{packageName}}
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
beego "github.com/astaxie/beego/server/web"
|
||||
)
|
||||
|
||||
// {{controllerName}}Controller operations for {{controllerName}}
|
||||
@ -166,7 +166,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
beego "github.com/astaxie/beego/server/web"
|
||||
)
|
||||
|
||||
// {{controllerName}}Controller operations for {{controllerName}}
|
||||
|
Reference in New Issue
Block a user