Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseURL = "https://api.github.com"
View Source
var Client = &http.Client{Timeout: time.Second * 5}
Functions ¶
func DownloadFile ¶
Types ¶
type Release ¶
type Release struct {
Version string `json:"tag_name"`
ZipUrl string `json:"zipball_url"`
URL string `json:"html_url"`
}
func FetchLatestRelease ¶
func NewReleaseFromVersion ¶
Click to show internal directories.
Click to hide internal directories.