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 <cameron@drivenow.com.au> Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/477 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Norwin <noerw@noreply.gitea.io> Co-authored-by: cameronbraid <cameronbraid@noreply.gitea.io> Co-committed-by: cameronbraid <cameronbraid@noreply.gitea.io>
This commit is contained in:
parent
97e61e5a8a
commit
30e7dc9ccb
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ type Release struct {
|
|||
Title string `json:"name"`
|
||||
Note string `json:"body"`
|
||||
URL string `json:"url"`
|
||||
HTMLURL string `json:"html_url"`
|
||||
TarURL string `json:"tarball_url"`
|
||||
ZipURL string `json:"zipball_url"`
|
||||
IsDraft bool `json:"draft"`
|
||||
|
|
Loading…
Reference in a new issue