Skip to content

Commit 01270df

Browse files
committed
issue: add field to indicate state when create
1 parent 1da1834 commit 01270df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func Version() string {
17-
return "0.8.1"
17+
return "0.8.2"
1818
}
1919

2020
// Client represents a Gogs API client.

issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ type CreateIssueOption struct {
5353
Assignee string `json:"assignee"`
5454
Milestone int64 `json:"milestone"`
5555
Labels []int64 `json:"labels"`
56+
Closed bool `json:"closed"`
5657
}
5758

5859
func (c *Client) CreateIssue(owner, repo string, opt CreateIssueOption) (*Issue, error) {

0 commit comments

Comments
 (0)