Create WikiService

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-09-03 23:25:16 -04:00
parent ffcc906c07
commit 9d5132f15c
7 changed files with 523 additions and 34 deletions
+2
View File
@@ -78,6 +78,7 @@ type Client struct {
Stream *StreamService
Subreddit *SubredditService
User *UserService
Wiki *WikiService
oauth2Transport *oauth2.Transport
@@ -107,6 +108,7 @@ func newClient() *Client {
client.Stream = &StreamService{client: client}
client.Subreddit = &SubredditService{client: client}
client.User = &UserService{client: client}
client.Wiki = &WikiService{client: client}
postAndCommentService := &postAndCommentService{client: client}
client.Comment = &CommentService{client: client, postAndCommentService: postAndCommentService}