Documentation
¶
Overview ¶
Package source is used to fetch the latest version information from upstream
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GHAsset ¶
type GHAsset struct {
URL string `json:"url"`
ID int64 `json:"id"`
Name string `json:"name"`
ContentType string `json:"content_type"`
State string `json:"state"`
Size uint64 `json:"size"`
DownloadCount uint64 `json:"download_count"`
DownloadURL string `json:"browser_download_url"`
CreatedAt GHTime `json:"created_at"`
UpdatedAt GHTime `json:"updated_at"`
}
type GHRelease ¶
type GHRelease struct {
URL string `json:"url"`
HTMLURL string `json:"html_url"`
ID int64 `json:"id"`
TagName string `json:"tag_name"`
TargetCommitish string `json:"target_commitish"`
Name string `json:"name"`
Draft bool `json:"draft"`
Prerelease bool `json:"prerelease"`
CreatedAt GHTime `json:"created_at"`
PublishedAt GHTime `json:"published_at"`
Assets []*GHAsset `json:"assets"`
}
type GHTime ¶
func (*GHTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.