upd:改版

This commit is contained in:
骑着蜗牛追导弹 2024-07-16 19:11:35 +08:00
parent 6400903610
commit 953c3ad067
1 changed files with 6 additions and 6 deletions

12
main.go
View File

@ -8,16 +8,16 @@ import (
_ "image/gif" // 导入gif支持
_ "image/jpeg" // 导入jpeg支持
_ "image/png" // 导入png支持
"os"
"time"
)
func main() {
//rootDir, err := os.Getwd()
//if err != nil {
// fmt.Println("=== 获取当前路径异常", err)
// return
//}
rootDir := "G:\\DZL_DATA\\D20240630\\Video\\other"
rootDir, err := os.Getwd()
if err != nil {
fmt.Println("=== 获取当前路径异常", err)
return
}
scanner := core.FileScanner{}
scanner.DoScan(rootDir)
scanner.DoFilter()