add id and email in gitlab user

This commit is contained in:
Muhammad Fadhlika
2021-05-21 15:14:01 +07:00
parent 3c382736e0
commit 4399abf450
+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