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 (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
@@ -68,7 +67,7 @@ func GetModelPath() string {
|
||||
func GetCurrentDirectory() string {
|
||||
dir, _ := os.Executable()
|
||||
exPath := filepath.Dir(dir)
|
||||
fmt.Println(exPath)
|
||||
// fmt.Println(exPath)
|
||||
|
||||
return exPath
|
||||
}
|
||||
|
Reference in New Issue
Block a user