Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageInfo ¶
type PackageStatus ¶
type PackageStatus struct { Name string `json:"name"` IsInstalled bool `json:"is_installed"` Installing bool `json:"installing"` Progress int `json:"progress"` TotalTime time.Duration `json:"total_time"` Status bool `json:"status"` TargetVersion string `json:"target_version"` CurrentVersion string `json:"current_version"` ScriptPath string `json:"script_path"` Dependency [][]string `json:"dependency"` }
type PackageStatuses ¶
type PackageStatuses []PackageStatus
func (PackageStatuses) Len ¶
func (a PackageStatuses) Len() int
func (PackageStatuses) Less ¶
func (a PackageStatuses) Less(i, j int) bool
func (PackageStatuses) Swap ¶
func (a PackageStatuses) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.