mirror of
https://github.com/beego/bee.git
synced 2025-07-05 18:20:18 +00:00
adding source code
This commit is contained in:
6
g.go
6
g.go
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user