Issue #68 Updating the multiple gopaths support to work with varying operating systems.
diff --git a/cmd/util.go b/cmd/util.go index aeaa7cf..c601322 100644 --- a/cmd/util.go +++ b/cmd/util.go
@@ -6,6 +6,7 @@ "os" "os/exec" "path" + "path/filepath" "strings" "github.com/Masterminds/cookoo" @@ -111,7 +112,7 @@ } func Gopaths() []string { p := os.Getenv("GOPATH") - ps := strings.Split(p, ":") + ps := filepath.SplitList(p) // XXX: Is this right? What is an empty path supposed to mean? if ps[0] == "" {