This repository was archived by the owner on Jun 8, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414)
1515
1616func Version () string {
17- return "0.12.0 "
17+ return "0.12.1 "
1818}
1919
2020// Client represents a Gogs API client.
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ type PullRequestMeta struct {
2626type Issue struct {
2727 ID int64 `json:"id"`
2828 Index int64 `json:"number"`
29- State StateType `json:"state "`
29+ Poster * User `json:"user "`
3030 Title string `json:"title"`
3131 Body string `json:"body"`
32- User * User `json:"user"`
3332 Labels []* Label `json:"labels"`
3433 Milestone * Milestone `json:"milestone"`
3534 Assignee * User `json:"assignee"`
35+ State StateType `json:"state"`
3636 Comments int `json:"comments"`
3737 Created time.Time `json:"created_at"`
3838 Updated time.Time `json:"updated_at"`
Original file line number Diff line number Diff line change @@ -13,15 +13,17 @@ type PullRequest struct {
1313 // Copied from issue.go
1414 ID int64 `json:"id"`
1515 Index int64 `json:"number"`
16- State StateType `json:"state "`
16+ Poster * User `json:"user "`
1717 Title string `json:"title"`
1818 Body string `json:"body"`
19- User * User `json:"user"`
2019 Labels []* Label `json:"labels"`
2120 Milestone * Milestone `json:"milestone"`
2221 Assignee * User `json:"assignee"`
22+ State StateType `json:"state"`
2323 Comments int `json:"comments"`
2424
25+ HTMLURL string `json:"html_url"`
26+
2527 Mergeable * bool `json:"mergeable"`
2628 HasMerged bool `json:"merged"`
2729 Merged * time.Time `json:"merged_at"`
You can’t perform that action at this time.
0 commit comments