func GetGOPATHs() []string {
	gopath := os.Getenv("GOPATH")
	var paths []string
	if runtime.GOOS == "windows" {
		gopath = strings.Replace(gopath, "\\", "/", -1)
		paths = strings.Split(gopath, ";")
	} else {
		paths = strings.Split(gopath, ":")
	}
	return paths
}
GetGOPATHs returns all paths in GOPATH variable.
package com
import (
	"errors"
	"os"
	"path/filepath"
	"runtime"
	"strings"
)