1
0
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:
Ming Deng
2020-11-05 23:52:08 +08:00
parent fa7aee4d01
commit f2a93c8c75
13 changed files with 161 additions and 45 deletions

View File

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