diff options
author | Unknwon <u@gogs.io> | 2017-03-16 17:33:04 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-16 17:33:04 -0400 |
commit | 9e8ffa14cb980221c35bb1431e97849a51e09dd7 (patch) | |
tree | afcd3eb02076a4d6c4d171818123589aa3efa29c /vendor/github.com/gogits/go-gogs-client/repo_hook.go | |
parent | 0ccd7c97abcb1ae314c9c17b0c08863cb13115fa (diff) |
webhook: add file status to push event (#3897)
Diffstat (limited to 'vendor/github.com/gogits/go-gogs-client/repo_hook.go')
-rw-r--r-- | vendor/github.com/gogits/go-gogs-client/repo_hook.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_hook.go b/vendor/github.com/gogits/go-gogs-client/repo_hook.go index 1ea75468..3d06b9fc 100644 --- a/vendor/github.com/gogits/go-gogs-client/repo_hook.go +++ b/vendor/github.com/gogits/go-gogs-client/repo_hook.go @@ -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 ( |