diff options
Diffstat (limited to 'vendor/github.com/gogits/go-gogs-client')
-rw-r--r-- | vendor/github.com/gogits/go-gogs-client/gogs.go | 2 | ||||
-rw-r--r-- | vendor/github.com/gogits/go-gogs-client/repo_hook.go | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/vendor/github.com/gogits/go-gogs-client/gogs.go b/vendor/github.com/gogits/go-gogs-client/gogs.go index e691dd64..2869e6c2 100644 --- a/vendor/github.com/gogits/go-gogs-client/gogs.go +++ b/vendor/github.com/gogits/go-gogs-client/gogs.go @@ -14,7 +14,7 @@ import ( ) func Version() string { - return "0.12.10" + return "0.12.11" } // Client represents a Gogs API client. 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 ( |