Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackageManagerCommand ¶
Types ¶
type Client ¶
type Client struct {
HTTPClient *http.Client
ReleasesURL string
// contains filtered or unexported fields
}
func (*Client) InstallLatest ¶
type InstallResult ¶
type InstallResult struct {
Current string `json:"current"`
Installed string `json:"installed"`
Executable string `json:"executable,omitempty"`
AlreadyLatest bool `json:"already_latest,omitempty"`
Delegated bool `json:"delegated,omitempty"`
Command []string `json:"command,omitempty"`
}
func (InstallResult) HumanText ¶
func (r InstallResult) HumanText() string
Click to show internal directories.
Click to hide internal directories.