Reuse common service struct

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-06-27 23:53:59 -04:00
parent c8d7abf216
commit 33294aa036
18 changed files with 172 additions and 339 deletions
+2
View File
@@ -66,10 +66,12 @@ func readFileContents(t *testing.T, filepath string) string {
func testClientServices(t *testing.T, c *Client) {
services := []string{
"Account",
"Comment",
"Flair",
"Listings",
"Post",
"Search",
"Subreddit",
"User",
"Vote",