Open mattn opened 3 years ago
When testing, path.Clean(path.Base("../../../Hello World!.txt"))
does not return your expected on Windows. Also calling path.Clean is not required.
hey @mattn . Owner of this package disappeared. I forked it and ready to support it in future. You can check it here: https://github.com/sergeyglazyrindev/govalidator , make pull request and I merge it and make new release.
Description
path/filepath should be used for this.