MCPcopy Create free account
hub / github.com/devopsctl/gitlabctl / descUser

Function descUser

cmd/desc_user.go:72–82  ·  view source on GitHub ↗
(uid int)

Source from the content-addressed store, hash-verified

70}
71
72func descUser(uid int) (*gitlab.User, error) {
73 git, err := newGitlabClient()
74 if err != nil {
75 return nil, err
76 }
77 userInfo, _, err := git.Users.GetUser(uid)
78 if err != nil {
79 return nil, err
80 }
81 return userInfo, nil
82}

Callers 1

runDescUserFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by

no test coverage detected