lifei6671 8 years ago
parent
commit
9de982bae3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main.go

+ 2 - 1
main.go

@@ -10,6 +10,7 @@ import (
 )
 
 func main() {
+	fmt.Println(os.Args[0])
 	commands.RegisterDataBase()
 	commands.RegisterModel()
 	commands.RegisterLogger()
@@ -19,6 +20,6 @@ func main() {
 	beego.SetStaticPath("uploads","uploads")
 
 
-	fmt.Printf("%+v",os.Args)
+
 	beego.Run()
 }