Skip to content

Commit c91d10f

Browse files
authored
Merge pull request #133 from faldez/gitlab/add-email-in-user
add id and email in gitlab user
2 parents 1739c6d + 4399abf commit c91d10f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitlab/payload.go

+2
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,11 @@ type Snippet struct {
283283

284284
// User contains all of the GitLab user information
285285
type User struct {
286+
ID int64 `json:"id"`
286287
Name string `json:"name"`
287288
UserName string `json:"username"`
288289
AvatarURL string `json:"avatar_url"`
290+
Email string `json:"email"`
289291
}
290292

291293
// Project contains all of the GitLab project information

0 commit comments

Comments
 (0)