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

@ -47,7 +47,7 @@ import (
"{{.Appname}}/models"
"github.com/hprose/hprose-golang/rpc"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/server/web"
)
func logInvokeHandler(
@ -90,8 +90,8 @@ import (
"{{.Appname}}/models"
"github.com/hprose/hprose-golang/rpc"
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
beego "github.com/astaxie/beego/server/web"
"github.com/astaxie/beego/client/orm"
{{.DriverPkg}}
)
@ -419,7 +419,7 @@ import (
"reflect"
"strings"
{{timePkg}}
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/client/orm"
)
{{modelStruct}}