From 7da31921c783a22c674e0192faf5328228cf4641 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 11 Aug 2020 12:39:09 +0800 Subject: [PATCH] remove unused method --- tools/goctl/api/gogen/util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/goctl/api/gogen/util.go b/tools/goctl/api/gogen/util.go index 8c513fa2..1306d1b8 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