diff --git a/github/issues_comments.go b/github/issues_comments.go index 8c4d3d9..b3a2c5a 100644 --- a/github/issues_comments.go +++ b/github/issues_comments.go @@ -17,6 +17,9 @@ type IssueComment struct { User *User `json:"user,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` + URL *string `json:"url,omitempty"` + HTMLURL *string `json:"html_url,omitempty"` + IssueURL *string `json:"issue_url,omitempty"` } func (i IssueComment) String() string { diff --git a/github/pulls.go b/github/pulls.go index 199b0a8..a927bd9 100644 --- a/github/pulls.go +++ b/github/pulls.go @@ -37,7 +37,9 @@ type PullRequest struct { Additions *int `json:"additions,omitempty"` Deletions *int `json:"deletions,omitempty"` ChangedFiles *int `json:"changed_files,omitempty"` + URL *string `json:"url,omitempty"` HTMLURL *string `json:"html_url,omitempty"` + IssueURL *string `json:"issue_url,omitempty"` StatusesURL *string `json:"statuses_url,omitempty"` // TODO(willnorris): add head and base once we have a Commit struct defined somewhere