Skip to content

Commit 30e7dc9

Browse files
cameronbraidcameronbraid
authored andcommitted
Add html_url field to Release struct (#477)
gitea server returns a html_url field so make this available in the Release struct Co-authored-by: Cameron Braid <[email protected]> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/477 Reviewed-by: 6543 <[email protected]> Reviewed-by: Norwin <[email protected]> Co-authored-by: cameronbraid <[email protected]> Co-committed-by: cameronbraid <[email protected]>
1 parent 97e61e5 commit 30e7dc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitea/release.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type Release struct {
2121
Title string `json:"name"`
2222
Note string `json:"body"`
2323
URL string `json:"url"`
24+
HTMLURL string `json:"html_url"`
2425
TarURL string `json:"tarball_url"`
2526
ZipURL string `json:"zipball_url"`
2627
IsDraft bool `json:"draft"`

0 commit comments

Comments
 (0)