Commit 5759674b authored by Zaq? Wiedmann's avatar Zaq? Wiedmann Committed by Sander van Harmelen

Add SnippetsService to Client (#254)

Following on to: https://github.com/xanzy/go-gitlab/pull/252

This MR exposes the SnippetsService on the client
parent b1362a3b
......@@ -223,6 +223,7 @@ type Client struct {
Services *ServicesService
Session *SessionService
Settings *SettingsService
Snippets *SnippetsService
SystemHooks *SystemHooksService
Tags *TagsService
Todos *TodosService
......@@ -296,6 +297,7 @@ func newClient(httpClient *http.Client, tokenType tokenType, token string) *Clie
c.Services = &ServicesService{client: c}
c.Session = &SessionService{client: c}
c.Settings = &SettingsService{client: c}
c.Snippets = &SnippetsService{client: c}
c.SystemHooks = &SystemHooksService{client: c}
c.Tags = &TagsService{client: c}
c.Todos = &TodosService{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