Commit 3c1bf561 authored by ThomasBS's avatar ThomasBS

Add projects to group

parent 32d53f1b
...@@ -33,10 +33,11 @@ type GroupsService struct { ...@@ -33,10 +33,11 @@ type GroupsService struct {
// //
// GitLab API docs: http://doc.gitlab.com/ce/api/groups.html // GitLab API docs: http://doc.gitlab.com/ce/api/groups.html
type Group struct { type Group struct {
ID int `json:"id"` ID int `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Path string `json:"path"` Path string `json:"path"`
Description string `json:"description"` Description string `json:"description"`
Projects *[]Project `json:"projects,omitempty"`
} }
// ListGroups gets a list of groups. (As user: my groups, as admin: all groups) // ListGroups gets a list of groups. (As user: my groups, as admin: all groups)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment