From 714bd493fef2b7dd3981658ec9adc454bf4df661 Mon Sep 17 00:00:00 2001 From: astaxie Date: Sat, 23 Mar 2013 20:46:41 +0800 Subject: [PATCH] #1 fix create conf --- createapp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createapp.go b/createapp.go index 404ef2c..2bf16a6 100644 --- a/createapp.go +++ b/createapp.go @@ -87,9 +87,9 @@ func createapp(cmd *Command, args []string) { fmt.Println("create conf:", path.Join(apppath, "conf")) os.Mkdir(path.Join(apppath, "controllers"), 0755) fmt.Println("create controllers:", path.Join(apppath, "controllers")) - os.Mkdir(path.Join(apppath, "conf"), 0755) - fmt.Println("create models:", path.Join(apppath, "models")) os.Mkdir(path.Join(apppath, "models"), 0755) + fmt.Println("create models:", path.Join(apppath, "models")) + os.Mkdir(path.Join(apppath, "static"), 0755) fmt.Println("create static:", path.Join(apppath, "static")) os.Mkdir(path.Join(apppath, "static", "js"), 0755) fmt.Println("create static js:", path.Join(apppath, "static", "js"))