From ffbe29ae2244da3ea29c25b0c95de74dfa51190b Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 24 Apr 2017 21:00:39 +0800 Subject: [PATCH] fix #2581 --- utils/utils.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 60b3d8a..13e50b1 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -60,9 +60,6 @@ func GetGOPATHs() []string { // IsInGOPATH checks whether the path is inside of any GOPATH or not func IsInGOPATH(thePath string) bool { - if runtime.GOOS == "windows" { - thePath = filepath.ToSlash(thePath) - } for _, gopath := range GetGOPATHs() { if strings.Contains(thePath, filepath.Join(gopath, "src")) { return true