Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
paths.Join & path.Match not working for windows paths? #41644
path.Join - not joining in a manner where path.Match can return correct results.
Path match should work in windows if the paths are provided in these formats
fileProcessor: globPath: "*556*.csv" olderThanSeconds: 2 inputDir : "C:\\data\\projects_go\\go-mail\\input\\" <- ugly, not redable, other languages java/python support usage of c:/data/projects_go/...
Config1.yml - path.Join must include missing slash "/" or "\", and path.Match must be able to find the pattern in windows.
fileProcessor: globPath: "*556*.csv" olderThanSeconds: 2 inputDir : "C:/data/projects_go/go-mail/input"
Use the path/filepath package
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see: