Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadArchive ¶
DownloadArchive: find "any-any" asset → check local size → download if needed
func InstallTemplate ¶
InstallTemplate: untar → cmake configure → build → install
func TestInstalled ¶
func UpdateIndex ¶
Types ¶
type ReleaseIndex ¶
type Version ¶
type Version struct {
TagName string `json:"tag_name"`
Title string `json:"title"`
PublishedAt time.Time `json:"published_at"`
Status string `json:"status"`
Description string `json:"description"`
TarURL string `json:"tar_url"`
ZipURL string `json:"zip_url"`
Assets map[string]Asset `json:"assets"`
TotalAssets int `json:"total_assets"`
IsLatest bool `json:"is_latest"`
}
func GetLatestVersion ¶
GetLatestVersion parses index file and returns latest version
Click to show internal directories.
Click to hide internal directories.