mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +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 {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
absDir = strings.ReplaceAll(absDir, `\`, `/`)
|
||||||
|
|
||||||
var rootPath string
|
var rootPath string
|
||||||
var tempPath = absDir
|
var tempPath = absDir
|
||||||
|
Loading…
Reference in New Issue
Block a user