animeic 2 years ago
parent
commit
020c46cc00

+ 1 - 2
format-backup-file/main.go

@@ -2,7 +2,6 @@ package main
 
 import (
 	"fmt"
-	"io/ioutil"
 	"os"
 	"path"
 	"regexp"
@@ -22,7 +21,7 @@ func main() {
 func GetAllFile(pathname string) ([]string, error) {
 	result := []string{}
 
-	fis, err := ioutil.ReadDir(pathname)
+	fis, err := os.ReadDir(pathname)
 	if err != nil {
 		fmt.Printf("读取文件目录失败,pathname=%v, err=%v \n", pathname, err)
 		return result, err

+ 0 - 0
format-backup-file/sku3d-mongo[all]/sku3d-mongo[all]-2022-11-23 00:30:00.gz


+ 0 - 0
format-backup-file/sku3d-mongo[all]/sku3d-mongo[all]-2022-11-23 00:30:00.log