From c7087840373f5e9d50c2ff38e603c7faf89a17f1 Mon Sep 17 00:00:00 2001 From: lifei6671 Date: Mon, 1 May 2017 16:40:35 +0800 Subject: [PATCH] * --- main.go | 3 +++ start.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index c93c90b0..2cbc672d 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,8 @@ import ( _ "github.com/lifei6671/godoc/routers" "github.com/astaxie/beego" "github.com/lifei6671/godoc/commands" + "fmt" + "os" ) func main() { @@ -17,5 +19,6 @@ func main() { beego.SetStaticPath("uploads","uploads") + fmt.Printf("%+v",os.Args) beego.Run() } diff --git a/start.sh b/start.sh index 82dec96d..57f03fec 100644 --- a/start.sh +++ b/start.sh @@ -3,7 +3,7 @@ set -e cd /go/src/github.com/lifei6671/godoc/ -goFile="godoc" +goFile="/go/src/github.com/lifei6671/godoc/godoc" chmod +x $goFile