Commit 60ef0cdb authored by Shane Da Silva's avatar Shane Da Silva Committed by Sander van Harmelen

Add closed_by and closed_at to merge_request struct (#380)

parent d427318b
...@@ -76,6 +76,14 @@ type MergeRequest struct { ...@@ -76,6 +76,14 @@ type MergeRequest struct {
CreatedAt *time.Time `json:"created_at"` CreatedAt *time.Time `json:"created_at"`
} `json:"merged_by"` } `json:"merged_by"`
MergedAt *time.Time `json:"merged_at"` MergedAt *time.Time `json:"merged_at"`
ClosedBy struct {
ID int `json:"id"`
Username string `json:"username"`
Name string `json:"name"`
State string `json:"state"`
CreatedAt *time.Time `json:"created_at"`
} `json:"closed_by"`
ClosedAt *time.Time `json:"closed_at"`
Subscribed bool `json:"subscribed"` Subscribed bool `json:"subscribed"`
SHA string `json:"sha"` SHA string `json:"sha"`
MergeCommitSHA string `json:"merge_commit_sha"` MergeCommitSHA string `json:"merge_commit_sha"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment