code: func GetGOPATHs() []string {
  	gopath := os.Getenv("GOPATH")
  	if gopath == "" && strings.Compare(runtime.Version(), "go1.8") >= 0 {
  		gopath = defaultGOPATH()
  	}
  	return filepath.SplitList(gopath)
  }
docs: // GetGOPATHs returns all paths in GOPATH variable.