diff --git a/goutil.go b/goutil.go index cc2f515..a0989e5 100644 --- a/goutil.go +++ b/goutil.go @@ -8,7 +8,6 @@ import ( "io/ioutil" "os" "os/exec" - "path" "path/filepath" "runtime" "strings" @@ -54,7 +53,7 @@ func ListFilesExt(dir string, ext string) []string { for _, file := range files { if !file.IsDir() { if strings.ToUpper(filepath.Ext(file.Name())) == ext { - list = append(list, path.Join(dir, file.Name())) + list = append(list, filepath.Join(dir, file.Name())) } } }