From 7a910534c8d1e82420ef763b514f2763bda63e65 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 17 Feb 2022 21:52:25 +0530 Subject: updated the client in user and user/anime packages --- user/client.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'user/client.go') diff --git a/user/client.go b/user/client.go index 7d5b800..2cdc79c 100644 --- a/user/client.go +++ b/user/client.go @@ -17,11 +17,7 @@ package user import ( - "net/http" + "github.com/MikunoNaka/MAL2Go/util" ) -// MyAnimeList Client for mal2go/anime package -type MALUserClient struct { - AuthToken, RefreshToken string - HttpClient http.Client -} +type MALUserClient util.DefaultClient -- cgit v1.2.3