Browse Source

Added DiffURL & PatchURL to PullRequest struct

Changed from PatchUrl to PatchURL
Fredrik Jönsson 11 years ago
committed by Will Norris
parent
commit
8e3584dcc5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      github/pulls.go

+ 2
- 0
github/pulls.go View File

@ -41,6 +41,8 @@ type PullRequest struct {
HTMLURL *string `json:"html_url,omitempty"` HTMLURL *string `json:"html_url,omitempty"`
IssueURL *string `json:"issue_url,omitempty"` IssueURL *string `json:"issue_url,omitempty"`
StatusesURL *string `json:"statuses_url,omitempty"` StatusesURL *string `json:"statuses_url,omitempty"`
DiffURL *string `json:"diff_url,omitempty"`
PatchURL *string `json:"patch_url,omitempty"`
Head *PullRequestBranch `json:"head,omitempty"` Head *PullRequestBranch `json:"head,omitempty"`
Base *PullRequestBranch `json:"base,omitempty"` Base *PullRequestBranch `json:"base,omitempty"`


Loading…
Cancel
Save