aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits/go-gogs-client/repo_hook.go
diff options
context:
space:
mode:
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.go7
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 (