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