Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct {
Name string `json:"name"`
BrowserDownloadURL string `json:"browser_download_url"`
Size int64 `json:"size"`
}
Asset represents a downloadable file attached to a release.
type Release ¶
type Release struct {
TagName string `json:"tag_name"`
Name string `json:"name"`
Draft bool `json:"draft"`
Prerelease bool `json:"prerelease"`
Assets []Asset `json:"assets"`
Body string `json:"body"`
PublishedAt time.Time `json:"published_at"`
}
Release represents a GitHub release with metadata and assets.
func FetchLatestDevRelease ¶
FetchLatestDevRelease fetches all releases from GitHub and returns the highest version development release (containing "-dev-" in the tag). It handles pagination to ensure all releases are checked.
Click to show internal directories.
Click to hide internal directories.