Create GoldService

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-20 17:04:44 -04:00
parent b89df0b64f
commit 8752bdd2d6
4 changed files with 99 additions and 0 deletions
+2
View File
@@ -96,6 +96,7 @@ type Client struct {
Comment *CommentService
Emoji *EmojiService
Flair *FlairService
Gold *GoldService
Listings *ListingsService
Message *MessageService
Moderation *ModerationService
@@ -145,6 +146,7 @@ func newClient(httpClient *http.Client) *Client {
c.Collection = &CollectionService{client: c}
c.Emoji = &EmojiService{client: c}
c.Flair = &FlairService{client: c}
c.Gold = &GoldService{client: c}
c.Listings = &ListingsService{client: c}
c.Message = &MessageService{client: c}
c.Moderation = &ModerationService{client: c}