Skip to content

Commit

Permalink
Add member struct to project
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaitsev committed Jan 13, 2016
1 parent 4a85f40 commit 32e2371
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions remote/gitlab/client/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 32e2371

Please sign in to comment.