diff --git a/tools/goctl/api/gogen/util.go b/tools/goctl/api/gogen/util.go index 5e52bb2c..44d8a6fd 100644 --- a/tools/goctl/api/gogen/util.go +++ b/tools/goctl/api/gogen/util.go @@ -22,7 +22,6 @@ func getParentPackage(dir string) (string, error) { if err != nil { return "", err } - absDir = strings.ReplaceAll(absDir, `\`, `/`) absDir = strings.ReplaceAll(absDir, `\`, `/`) var rootPath string