expose url field in issues and pull requests (#39)
This commit is contained in:
parent
c662dd0303
commit
06902fe195
2 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ type PullRequestMeta struct {
|
|||
// Issue an issue to a repository
|
||||
type Issue struct {
|
||||
ID int64 `json:"id"`
|
||||
URL string `json:"url"`
|
||||
Index int64 `json:"number"`
|
||||
Poster *User `json:"user"`
|
||||
Title string `json:"title"`
|
||||
|
|
|
@ -14,6 +14,7 @@ import (
|
|||
// PullRequest represents a pull request API object.
|
||||
type PullRequest struct {
|
||||
ID int64 `json:"id"`
|
||||
URL string `json:"url"`
|
||||
Index int64 `json:"number"`
|
||||
Poster *User `json:"user"`
|
||||
Title string `json:"title"`
|
||||
|
|
Loading…
Reference in a new issue