Documentation ¶ Index ¶ func LatestRelease(owner, repo string) (tag string, err error) func LatestReleaseFromMod(mod *mods.Mod) (tag string, err error) type DlRelease type Download func ListDownloads(owner, repo, tag string) (downloads []Download, err error) type Release Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LatestRelease ¶ func LatestRelease(owner, repo string) (tag string, err error) func LatestReleaseFromMod ¶ func LatestReleaseFromMod(mod *mods.Mod) (tag string, err error) Types ¶ type DlRelease ¶ type DlRelease struct { Assets []Download `json:"assets"` } type Download ¶ type Download struct { Name string `json:"name"` URL string `json:"browser_download_url"` } func ListDownloads ¶ func ListDownloads(owner, repo, tag string) (downloads []Download, err error) type Release ¶ type Release struct { TagName string `json:"tag_name"` } Source Files ¶ View all Source files getter.go Click to show internal directories. Click to hide internal directories.