摘要: import ( "errors" // "fmt" "os" "os/exec" "path/filepath" "runtime" "strings" ) func GetCurrentPath() (string, error) { file, err := exec.LookPath(os.Args[0]) if err != nil { return "", e... 阅读全文
posted @ 2018-05-23 11:09 晴天224 阅读(4778) 评论(0) 推荐(0) 编辑