Add created_at and updated_at in PR json (#52)
This commit is contained in:
parent
01c61b83ae
commit
0c3a0b0b5e
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ type PullRequest struct {
|
||||||
Base *PRBranchInfo `json:"base"`
|
Base *PRBranchInfo `json:"base"`
|
||||||
Head *PRBranchInfo `json:"head"`
|
Head *PRBranchInfo `json:"head"`
|
||||||
MergeBase string `json:"merge_base"`
|
MergeBase string `json:"merge_base"`
|
||||||
|
|
||||||
|
Created *time.Time `json:"created_at"`
|
||||||
|
Updated *time.Time `json:"updated_at"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PRBranchInfo base branch info when send a PR
|
// PRBranchInfo base branch info when send a PR
|
||||||
|
|
Loading…
Reference in a new issue