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
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,9 @@ type Identity struct {
// CommitMeta contains meta information of a commit in terms of API.
type CommitMeta struct {
URL string `json:"url"`
SHA string `json:"sha"`
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.