Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { Url string `json:"url"` Id int64 `json:"id"` NodeId string `json:"node_id"` Name string `json:"name"` Label string `json:"label"` Uploader Author `json:"uploader"` ContentType string `json:"content_type"` State string `json:"state"` Size int64 `json:"size"` DownloadCount int64 `json:"download_count"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` BrowserDownloadUrl string `json:"browser_download_url"` }
type Checker ¶
type Checker struct { // user/repo-name or org/repo-name Owner string Repo string CurrentVersion string }
func NewChecker ¶
type Release ¶
type Release struct { ID int64 `json:"id,omitempty"` NodeID string `json:"node_id,omitempty"` URL string `json:"url,omitempty"` HtmlURL string `json:"html_url,omitempty"` TagName string `json:"tag_name,omitempty"` TargetCommitish string `json:"target_commitish,omitempty"` Name *string `json:"name,omitempty"` Body *string `json:"body,omitempty"` Draft bool `json:"draft,omitempty"` Prerelease bool `json:"prerelease,omitempty"` CreatedAt time.Time `json:"created_at"` PublishedAt time.Time `json:"published_at"` Author Author `json:"author"` Assets []Asset `json:"assets"` }
Release is a GitHub release
func (*Release) IsPreOrDraft ¶
Click to show internal directories.
Click to hide internal directories.