Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveRepoData ¶
func SaveRepoData(key string)
Types ¶
type Dependency ¶
func GetDependencies ¶
func GetDependencies(deps map[string]interface{}) []Dependency
func ParseDependency ¶
func ParseDependency(repo string, info string) Dependency
func (*Dependency) GetHashName ¶
func (d *Dependency) GetHashName() string
func (*Dependency) GetName ¶
func (d *Dependency) GetName() string
func (*Dependency) GetURL ¶
func (d *Dependency) GetURL() string
func (*Dependency) GetURLPrefix ¶
func (d *Dependency) GetURLPrefix() string
func (*Dependency) GetVersion ¶
func (d *Dependency) GetVersion() string
type Dependencyes ¶
type Package ¶
type Package struct { IsNew bool `json:"-"` Name string `json:"name"` Description string `json:"description"` Version string `json:"version"` Homepage string `json:"homepage"` MainSrc string `json:"mainsrc"` Projects []string `json:"projects"` Scripts interface{} `json:"scripts,omitempty"` Dependencies interface{} `json:"dependencies"` // contains filtered or unexported fields }
func LoadPackage ¶
func LoadPackageOther ¶
func (*Package) AddDependency ¶
func (*Package) AddProject ¶
func (*Package) RemoveDependency ¶
type PackageLock ¶
type PackageLock struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.