govalidator icon indicating copy to clipboard operation
govalidator copied to clipboard

use path/filepath instead of path

Open mattn opened this issue 3 years ago • 2 comments

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

path/filepath should be used for this.

mattn avatar Oct 18 '21 13:10 mattn

When testing, path.Clean(path.Base("../../../Hello World!.txt")) does not return your expected on Windows. Also calling path.Clean is not required.

mattn avatar Oct 19 '21 09:10 mattn

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.

sergeyglazyrindev avatar Oct 19 '21 18:10 sergeyglazyrindev