From 8e3584dcc5126021ff8820cfcc7adda2f57cacdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20J=C3=B6nsson?= Date: Sun, 29 Mar 2015 18:07:32 +0200 Subject: [PATCH] Added DiffURL & PatchURL to PullRequest struct Changed from PatchUrl to PatchURL --- github/pulls.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/pulls.go b/github/pulls.go index 307562d..cf07110 100644 --- a/github/pulls.go +++ b/github/pulls.go @@ -41,6 +41,8 @@ type PullRequest struct { HTMLURL *string `json:"html_url,omitempty"` IssueURL *string `json:"issue_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"` Base *PullRequestBranch `json:"base,omitempty"`