Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ContinueInstall ¶
func ContinueInstall(executable string)
func GetExecutablePath ¶
func GetExecutablePath() string
Types ¶
type GithubAsset ¶
type GithubAsset struct {
Name string `json:"name"`
BrowserDownloadUrl string `json:"browser_download_url"`
}
func (*GithubAsset) Download ¶
func (asset *GithubAsset) Download() *[]byte
type GithubRelease ¶
type GithubRelease struct {
TagName string `json:"tag_name"`
CreatedAt string `json:"created_at"`
Assets []*GithubAsset `json:"assets"`
}
func (*GithubRelease) GetAsset ¶
func (release *GithubRelease) GetAsset(name string) *GithubAsset
func (*GithubRelease) GetCreatedAt ¶
func (release *GithubRelease) GetCreatedAt() *time.Time
type GithubReleases ¶
type GithubReleases []*GithubRelease
func GetReleases ¶
func GetReleases() *GithubReleases
func (*GithubReleases) GetLatestRelease ¶
func (releases *GithubReleases) GetLatestRelease() *GithubRelease
Click to show internal directories.
Click to hide internal directories.