From 0c3a0b0b5ea6edfb5bf3a4c81ebda6d207ecdfad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=96stanb=C3=A4ck?= Date: Thu, 27 Apr 2017 02:40:26 +0200 Subject: [PATCH] Add created_at and updated_at in PR json (#52) --- gitea/pull.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitea/pull.go b/gitea/pull.go index fcccf07..a50db96 100644 --- a/gitea/pull.go +++ b/gitea/pull.go @@ -38,6 +38,9 @@ type PullRequest struct { Base *PRBranchInfo `json:"base"` Head *PRBranchInfo `json:"head"` 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