tangs 7 vuotta sitten
vanhempi
commit
a50aafb32b
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      src/main.go

+ 5 - 0
src/main.go

@@ -8,6 +8,7 @@ import (
 	"fs"
 	"github.com/Tangmz/tangs/log"
 	"time"
+	"os"
 )
 
 func main() {
@@ -37,6 +38,10 @@ func main() {
 
 	fs.Conf = config
 
+	path, _ := os.Getwd()
+	fmt.Println("current path is ", path)
+	log.Debug("current path is %v", path)
+
 	// 初始化router
 	fs.Router()
 	log.Debug("main start listen on port :5678")