improve gproc.SearchBinary

This commit is contained in:
John
2020-01-09 23:05:03 +08:00
parent 16f0bb96db
commit 7c7c168c3d
2 changed files with 9 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import (
)
func main() {
g.Dump(gfile.ScanDirFile("/Users/john/Temp/test", "*", true))
g.Dump(gfile.ScanDirFile("/Users/john/Temp/test", "Dockerfile", true))
//if err := gfile.ReplaceDir("gf-empty", "app", "/Users/john/Temp/test", "*.*", true); err != nil {
// glog.Fatal("content replacing failed,", err.Error())
//}