Versions in this module Expand all Collapse all v0 v0.6.5 May 24, 2014 Changes in this version + const BRANCH + const COMMIT + const DEFAULT + const GOPM_CONFIG_FILE + const GOPM_FILE_NAME + const LOCAL + const MASTER + const PKG_NAME_LIST_PATH + const RawHomeDir + const TAG + const TRUNK + const VENDOR + const VER_PATH + var Cfg *goconfig.ConfigFile + var HomeDir = "~/.gopm" + var HttpClient = &http.Client + var LocalNodes *goconfig.ConfigFile + var LocalNodesFile = "/data/localnodes.list" + var PackageNameList map[string]string + func CheckImports(absPath, importPath string, nod *Node) (importPkgs []string, err error) + func CheckIsExistInGOPATH(importPath string) (string, bool) + func CheckIsExistWithVCS(path string) bool + func CheckNodeValue(v string) string + func GetAllImports(dirs []string, importPath string, example, test bool) (imports []string) + func GetBestMatchGOPATH(appPath string) string + func GetDirsInfo(rootPath string) ([]os.FileInfo, error) + func GetGithubCredentials() string + func GetImports(absPath, importPath string, example, test bool) []string + func GetPkgFullPath(short string) string + func GetProjectPath(importPath string) (projectPath string) + func IsGoRepoPath(importPath string) bool + func IsValidRemotePath(importPath string) bool + func LoadLocalNodes() + func LoadPkgNameList(filePath string) + func NewGopmfile(dirPath string) *goconfig.ConfigFile + func PureDownload(nod *Node, installRepoPath string, ctx *cli.Context) ([]string, error) + func SaveLocalNodes() + func SetAppConfig(path string, backup bool) + func Synopsis(s string) string + type Context struct + type Node struct + DownloadURL string + IsGetDeps bool + IsGetDepsOnly bool + Revision string + Synopsis string + func NewNode(importPath, downloadUrl, tp, value string, isGetDeps bool) *Node + type Pkg struct + ImportPath string + RootPath string + Type string + Value string + func NewDefaultPkg(importPath string) *Pkg + func NewPkg(importPath, tp, value string) *Pkg + func (pkg *Pkg) IsFixed() bool + func (pkg *Pkg) VerString() string + type Source struct + SrcData []byte + SrcName string + func (s *Source) Data() []byte + func (s *Source) IsDir() bool + func (s *Source) ModTime() time.Time + func (s *Source) Mode() os.FileMode + func (s *Source) Name() string + func (s *Source) Size() int64 + func (s *Source) Sys() interface{} v0.1.0 May 27, 2013