Unexport post/comment service. Rename github workflow

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-02 19:04:53 -04:00
parent a0ad61f28c
commit c3b2ab00c2
6 changed files with 20 additions and 22 deletions
+3 -3
View File
@@ -146,9 +146,9 @@ func newClient(httpClient *http.Client) *Client {
c.Subreddit = &SubredditService{client: c}
c.User = &UserService{client: c}
postAndCommentService := &PostAndCommentService{client: c}
c.Comment = &CommentService{client: c, PostAndCommentService: postAndCommentService}
c.Post = &PostService{client: c, PostAndCommentService: postAndCommentService}
postAndCommentService := &postAndCommentService{client: c}
c.Comment = &CommentService{client: c, postAndCommentService: postAndCommentService}
c.Post = &PostService{client: c, postAndCommentService: postAndCommentService}
return c
}