From 5e50f0292565471b41b3c73fcadcb886140f0082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Carlb=C3=A4cker?= Date: Fri, 19 Aug 2016 17:13:44 +0200 Subject: [PATCH] Add Status-flag to EditIssueOption (#41) * EditIssueOption takes Status-flag * json-element renamed 'state' to reflect GitHub-API * Renamed Status=>State for EditIssueOption --- issue.go | 1 + 1 file changed, 1 insertion(+) diff --git a/issue.go b/issue.go index 0a5e8ce..7bb50df 100644 --- a/issue.go +++ b/issue.go @@ -78,6 +78,7 @@ type EditIssueOption struct { Body *string `json:"body"` Assignee *string `json:"assignee"` Milestone *int64 `json:"milestone"` + State *string `json:"state"` } func (c *Client) EditIssue(owner, repo string, index int64, opt EditIssueOption) (*Issue, error) {