1
0
mirror of https://github.com/beego/bee.git synced 2025-09-18 09:52:09 +00:00

adding source code

This commit is contained in:
ZhengYang
2014-07-31 18:46:03 +08:00
parent bedec1aea7
commit 7eb6fa6a67
2 changed files with 730 additions and 0 deletions

6
g.go
View File

@@ -52,6 +52,12 @@ func generateCode(cmd *Command, args []string) {
switch gcmd {
case "docs":
generateDocs(curpath)
case "model":
generateModel(curpath)
case "controller":
generateController(curpath)
case "router":
generateRouter(curpath)
default:
ColorLog("[ERRO] command is missing\n")
}