Update CommitMeta Struct (#434)

Merge branch 'master' into update-CommitMeta_433

Update CommitMeta Struct

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/434
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
6543 2020-10-06 23:31:11 +00:00 committed by techknowlogick
parent 3c8ff9d91c
commit cb66dbb487

View file

@ -21,6 +21,7 @@ type Identity struct {
type CommitMeta struct {
URL string `json:"url"`
SHA string `json:"sha"`
Created time.Time `json:"created"`
}
// CommitUser contains information of a user in the context of a commit.