diff --git a/gogs.go b/gogs.go index 0b19afa..c34a7ed 100644 --- a/gogs.go +++ b/gogs.go @@ -14,7 +14,7 @@ import ( ) func Version() string { - return "0.10.2" + return "0.10.3" } // Client represents a Gogs API client. diff --git a/repo_hook.go b/repo_hook.go index ec5c385..2be59e1 100644 --- a/repo_hook.go +++ b/repo_hook.go @@ -98,6 +98,7 @@ type PayloadCommit struct { URL string `json:"url"` Author *PayloadAuthor `json:"author"` Committer *PayloadCommitter `json:"committer"` + Timestamp time.Time `json:"timestamp"` } type PayloadRepo struct {