Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1651 from xanzy/feature/links
Browse files Browse the repository at this point in the history
Add release links
  • Loading branch information
svanharmelen authored Feb 16, 2023
2 parents e837f2d + 1fd8df4 commit 1ab89ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ type Release struct {
} `json:"sources"`
Links []*ReleaseLink `json:"links"`
} `json:"assets"`
Links struct {
ClosedIssueURL string `json:"closed_issues_url"`
ClosedMergeRequest string `json:"closed_merge_requests_url"`
EditURL string `json:"edit_url"`
MergedMergeRequest string `json:"merged_merge_requests_url"`
OpenedIssues string `json:"opened_issues_url"`
OpenedMergeRequest string `json:"opened_merge_requests_url"`
Self string `json:"self"`
} `json:"_links"`
}

// ListReleasesOptions represents ListReleases() options.
Expand Down

0 comments on commit 1ab89ad

Please sign in to comment.