Merge pull request #133 from faldez/gitlab/add-email-in-user

add id and email in gitlab user
This commit is contained in:
Anton Krivenko
2021-11-16 19:55:31 +03:00
committed by GitHub
+2
View File
@@ -283,9 +283,11 @@ type Snippet struct {
// User contains all of the GitLab user information
type User struct {
ID int64 `json:"id"`
Name string `json:"name"`
UserName string `json:"username"`
AvatarURL string `json:"avatar_url"`
Email string `json:"email"`
}
// Project contains all of the GitLab project information