# go-filesearch **Repository Path**: gift-owner-study/go-filesearch ## Basic Information - **Project Name**: go-filesearch - **Description**: 一个简单的命令行工具,根据指定文件列表在指定目录搜索文件 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-11 - **Last Updated**: 2021-08-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文件搜索 ### cmd版本 #### 需求说明 1. 读取excel文件中要搜索的文件列表 2. 指定需要遍历的目录 3. 提取目录中包含的文件名和不包含的文件名 4. 将检测结果保存到excel文件中 #### 编译方法 1. ```cd filedemo``` 2. ```go mod tidy``` 3. ```go build``` 4. 将``find.xlsx``复制到可执行文件所在的目录 5. 双击可执行文件使用 ### gui版本 1. ```cd filedemo``` 2. ```go mod tidy``` 3. ```cd gui``` 4. 带调试窗口:``go build`` 不带调试窗口的正式编译:``go build -ldflags="-H windowsgui -w -s"`` 5. 参考文档: https://github.com/lxn/walk https://www.jianshu.com/p/28f371a378f0 6. 注意 rsrc.syso 文件不能删除