mirror of
https://github.com/beego/bee.git
synced 2025-07-05 23:30:18 +00:00
routes fixed to routers
This commit is contained in:
@ -259,8 +259,8 @@ func createapi(cmd *Command, args []string) {
|
||||
os.Mkdir(path.Join(apppath, "controllers"), 0755)
|
||||
fmt.Println("create controllers:", path.Join(apppath, "controllers"))
|
||||
os.Mkdir(path.Join(apppath, "models"), 0755)
|
||||
fmt.Println(path.Join(apppath, "routes") + string(path.Separator))
|
||||
os.Mkdir(path.Join(apppath, "routes"), 0755)
|
||||
fmt.Println(path.Join(apppath, "routers") + string(path.Separator))
|
||||
os.Mkdir(path.Join(apppath, "routers"), 0755)
|
||||
fmt.Println("create models:", path.Join(apppath, "models"))
|
||||
os.Mkdir(path.Join(apppath, "tests"), 0755)
|
||||
fmt.Println("create tests:", path.Join(apppath, "tests"))
|
||||
|
Reference in New Issue
Block a user