Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release struct { ID uint `json:"id"` TagName string `json:"tag_name"` Body string `json:"body"` Draft bool `json:"draft"` PreRelease bool `json:"prerelease"` CreatedAt string `json:"created_at"` PublishedAt string `json:"published_at"` HTMLURL string `json:"html_url"` NodeID string `json:"node_id"` HTML string CardClass string MajorVersion string // Specifies the commitish value that determines where the Git tag is // created from. Can be any branch or commit SHA. Unused if the Git tag // already exists. Default: the repository’s default branch (usually master). TargetCommitish string `json:"target_commitish"` }
func (*Release) ParseMarkdown ¶
func (r *Release) ParseMarkdown()
type Repository ¶
type Repository struct { ID uint `json:"id"` Name string `json:"name"` Path string `json:"full_name"` Description string `json:"description"` HTMLUrl string `json:"html_url"` Targets []string }
func GetRepository ¶
func GetRepository(repo string) (*Repository, error)
func (*Repository) GetReleases ¶
func (r *Repository) GetReleases() ([]*Release, error)
Click to show internal directories.
Click to hide internal directories.