This commit is contained in:
谢小军
2020-05-11 12:43:25 +08:00

View File

@@ -2,7 +2,6 @@ package tools
import ( import (
"bufio" "bufio"
"fmt"
"io" "io"
"io/ioutil" "io/ioutil"
"os" "os"
@@ -68,7 +67,7 @@ func GetModelPath() string {
func GetCurrentDirectory() string { func GetCurrentDirectory() string {
dir, _ := os.Executable() dir, _ := os.Executable()
exPath := filepath.Dir(dir) exPath := filepath.Dir(dir)
fmt.Println(exPath) // fmt.Println(exPath)
return exPath return exPath
} }