webhook: add file status to push event (#3897)

This commit is contained in:
Unknwon
2017-03-16 17:33:04 -04:00
parent 0ccd7c97ab
commit 9e8ffa14cb
10 changed files with 116 additions and 23 deletions

View File

@@ -86,7 +86,12 @@ type PayloadCommit struct {
URL string `json:"url"`
Author *PayloadUser `json:"author"`
Committer *PayloadUser `json:"committer"`
Timestamp time.Time `json:"timestamp"`
Added []string `json:"added"`
Removed []string `json:"removed"`
Modified []string `json:"modified"`
Timestamp time.Time `json:"timestamp"`
}
var (