Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit d1020b4

Browse files
committed
Add Timestamp to PayloadCommit
1 parent 9cf52ef commit d1020b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gogs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func Version() string {
17-
return "0.10.2"
17+
return "0.10.3"
1818
}
1919

2020
// Client represents a Gogs API client.

repo_hook.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ type PayloadCommit struct {
9898
URL string `json:"url"`
9999
Author *PayloadAuthor `json:"author"`
100100
Committer *PayloadCommitter `json:"committer"`
101+
Timestamp time.Time `json:"timestamp"`
101102
}
102103

103104
type PayloadRepo struct {

0 commit comments

Comments
 (0)