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