MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / newGroup

Function newGroup

cmd/new_group.go:70–80  ·  view source on GitHub ↗
(opts *gitlab.CreateGroupOptions)

Source from the content-addressed store, hash-verified

68}
69
70func 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}

Callers 2

runNewGroupFunction · 0.85
TestDeleteGroupFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by 1

TestDeleteGroupFunction · 0.68