tangs il y a 7 ans
Parent
commit
a50aafb32b
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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")