From 0eb32bb339f66d3416c1088d6372bc7219b6e323 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 6 Feb 2022 19:02:33 +0530 Subject: now a single http.Client is responsible for all the HTTP requests. --- anime/client.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'anime/client.go') diff --git a/anime/client.go b/anime/client.go index 464854a..25c71e1 100644 --- a/anime/client.go +++ b/anime/client.go @@ -16,7 +16,12 @@ package anime +import ( + "net/http" +) + // MyAnimeList Client for mal2go/anime package type AnimeClient struct { AuthToken, RefreshToken string + HttpClient http.Client } -- cgit v1.2.3