From 32e2371ba6626a9f352baeb69177f5d3fef19ec8 Mon Sep 17 00:00:00 2001 From: Kirilll Zaycev Date: Thu, 14 Jan 2016 02:05:46 +0300 Subject: [PATCH] Add member struct to project --- remote/gitlab/client/types.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/remote/gitlab/client/types.go b/remote/gitlab/client/types.go index 7a5668a62..d89311a27 100644 --- a/remote/gitlab/client/types.go +++ b/remote/gitlab/client/types.go @@ -25,8 +25,19 @@ type Permissions struct { GroupAccess *GroupAccess `json:"group_access,omitempty"` } +type Member struct { + Id int + Username string + Email string + Name string + State string + CreatedAt string `json:"created_at,omitempty"` + // AccessLevel int +} + type Project struct { Id int `json:"id,omitempty"` + Owner *Member `json:"owner,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` DefaultBranch string `json:"default_branch,omitempty"`