(opts *gitlab.CreateGroupOptions)
| 68 | } |
| 69 | |
| 70 | func newGroup(opts *gitlab.CreateGroupOptions) (*gitlab.Group, error) { |
| 71 | git, err := newGitlabClient() |
| 72 | if err != nil { |
| 73 | return nil, err |
| 74 | } |
| 75 | g, _, err := git.Groups.CreateGroup(opts) |
| 76 | if err != nil { |
| 77 | return nil, err |
| 78 | } |
| 79 | return g, nil |
| 80 | } |