Commit 25115b3d authored by Lorac's avatar Lorac Committed by Sander van Harmelen

Add Emoji Award API (#313)

parent d6a48082
This diff is collapsed.
...@@ -200,6 +200,7 @@ type Client struct { ...@@ -200,6 +200,7 @@ type Client struct {
UserAgent string UserAgent string
// Services used for talking to different parts of the GitLab API. // Services used for talking to different parts of the GitLab API.
AwardEmoji *AwardEmojiService
Branches *BranchesService Branches *BranchesService
BuildVariables *BuildVariablesService BuildVariables *BuildVariablesService
Commits *CommitsService Commits *CommitsService
...@@ -277,6 +278,7 @@ func newClient(httpClient *http.Client, tokenType tokenType, token string) *Clie ...@@ -277,6 +278,7 @@ func newClient(httpClient *http.Client, tokenType tokenType, token string) *Clie
timeStats := &timeStatsService{client: c} timeStats := &timeStatsService{client: c}
// Create all the public services. // Create all the public services.
c.AwardEmoji = &AwardEmojiService{client: c}
c.Branches = &BranchesService{client: c} c.Branches = &BranchesService{client: c}
c.BuildVariables = &BuildVariablesService{client: c} c.BuildVariables = &BuildVariablesService{client: c}
c.Commits = &CommitsService{client: c} c.Commits = &CommitsService{client: c}
......
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