|
|
@ -28,13 +28,14 @@ type Issue struct { |
|
|
Title string `json:"title,omitempty"` |
|
|
Title string `json:"title,omitempty"` |
|
|
Body string `json:"body,omitempty"` |
|
|
Body string `json:"body,omitempty"` |
|
|
User *User `json:"user,omitempty"` |
|
|
User *User `json:"user,omitempty"` |
|
|
|
|
|
Labels []Label `json:"labels,omitempty"` |
|
|
Assignee *User `json:"assignee,omitempty"` |
|
|
Assignee *User `json:"assignee,omitempty"` |
|
|
Comments int `json:"comments,omitempty"` |
|
|
Comments int `json:"comments,omitempty"` |
|
|
ClosedAt *time.Time `json:"closed_at,omitempty"` |
|
|
ClosedAt *time.Time `json:"closed_at,omitempty"` |
|
|
CreatedAt *time.Time `json:"created_at,omitempty"` |
|
|
CreatedAt *time.Time `json:"created_at,omitempty"` |
|
|
UpdatedAt *time.Time `json:"updated_at,omitempty"` |
|
|
UpdatedAt *time.Time `json:"updated_at,omitempty"` |
|
|
|
|
|
|
|
|
// TODO(willnorris): labels and milestone
|
|
|
|
|
|
|
|
|
// TODO(willnorris): milestone
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// IssueListOptions specifies the optional parameters to the IssuesService.List
|
|
|
// IssueListOptions specifies the optional parameters to the IssuesService.List
|
|
|
|