1
0
mirror of https://github.com/beego/bee.git synced 2025-07-03 15:20:17 +00:00
This commit is contained in:
fanngyuan
2013-08-22 11:03:31 +08:00
parent 916e701580
commit 9ba4bbc1bc
2 changed files with 84 additions and 0 deletions

View File

@ -194,6 +194,8 @@ func createapi(cmd *Command, args []string) {
fmt.Println("create controllers:", path.Join(apppath, "controllers"))
os.Mkdir(path.Join(apppath, "models"), 0755)
fmt.Println("create models:", path.Join(apppath, "models"))
os.Mkdir(path.Join(apppath, "tests"), 0755)
fmt.Println("create tests:", path.Join(apppath, "tests"))
fmt.Println("create conf app.conf:", path.Join(apppath, "conf", "app.conf"))
writetofile(path.Join(apppath, "conf", "app.conf"),