Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllReleases ¶
func GetAllReleases() (*api.RawResponse, error)
GetAllReleases - Get all Ironstar CLI releases
func GetLatestRelease ¶
func GetLatestRelease() (*api.RawResponse, error)
GetLatestRelease - Get latest Ironstar CLI release
func GetRelease ¶
func GetRelease(version string) (*api.RawResponse, error)
GetRelease - Get an Ironstar CLI release
Types ¶
type ReleaseBody ¶
type ReleaseBody struct { TagName string `json:"tag_name"` HTMLURL string `json:"html_url"` Prerelease bool `json:"prerelease"` Draft bool `json:"draft"` Assets []struct { Name string `json:"name"` URL string `json:"browser_download_url"` } }
ReleaseBody - Used properties from the GH API GET call
Click to show internal directories.
Click to hide internal directories.