mirror of
https://github.com/xxjwxc/public.git
synced 2025-09-26 20:01:19 +08:00
Merge branch 'master' of https://github.com/xxjwxc/public
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user