mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
fix windows slash
This commit is contained in:
parent
40895ba8d9
commit
7f2e48e8f0
@ -22,6 +22,7 @@ func getParentPackage(dir string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
absDir = strings.ReplaceAll(absDir, `\`, `/`)
|
||||
|
||||
var rootPath string
|
||||
var tempPath = absDir
|
||||
|
Loading…
Reference in New Issue
Block a user