From f1a83e9b5cf1931adcdccef9db4586eeab987700 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 17 Feb 2022 21:55:42 +0530 Subject: actually fixed all the errors with broken imports and clients --- anime/client.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'anime/client.go') diff --git a/anime/client.go b/anime/client.go index 25c71e1..e857df2 100644 --- a/anime/client.go +++ b/anime/client.go @@ -1,4 +1,4 @@ -/* mal2go - MyAnimeList V2 API wrapper for Go +/* MAL2Go - MyAnimeList V2 API wrapper for Go * Copyright (C) 2022 Vidhu Kant Sharma * This program is free software: you can redistribute it and/or modify @@ -17,11 +17,7 @@ package anime import ( - "net/http" + "github.com/MikunoNaka/MAL2Go/util" ) -// MyAnimeList Client for mal2go/anime package -type AnimeClient struct { - AuthToken, RefreshToken string - HttpClient http.Client -} +type Client util.DefaultClient -- cgit v1.2.3