issues

Github, Jira, Gitlab issues from Plan 9's acme
Log | Files | Refs | README | LICENSE

commit 72bcfad4bfbf9166e6faae5429356ea9c7a7a2a2
parent 2fbbd234d197f88c7063749de530d5b57af63b70
Author: Russ Cox <rsc@golang.org>
Date:   Fri, 21 Jun 2024 09:07:55 -0400

github: add url to Issue struct

Diffstat:
Missue.go | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/issue.go b/issue.go @@ -23,6 +23,7 @@ const issueFields = ` milestone { id number title } repository { name owner { __typename login } } body + url labels(first: 100) { nodes { name @@ -471,6 +472,7 @@ type Issue struct { Owner string Repo string Body string + URL string } func toIssue(s *schema.Issue) *Issue { @@ -488,6 +490,7 @@ func toIssue(s *schema.Issue) *Issue { Milestone: toMilestone(s.Milestone), Labels: apply(toLabel, s.Labels.Nodes), Body: s.Body, + URL: string(s.Url), } }