aboutsummaryrefslogtreecommitdiff
path: root/anime/client.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:55:42 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:55:42 +0530
commitf1a83e9b5cf1931adcdccef9db4586eeab987700 (patch)
treedd2f0ea29cfa0d585427a403a5be32a8ff4d4272 /anime/client.go
parent7a910534c8d1e82420ef763b514f2763bda63e65 (diff)
actually fixed all the errors with broken imports and clients
Diffstat (limited to 'anime/client.go')
-rw-r--r--anime/client.go10
1 files changed, 3 insertions, 7 deletions
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 <vidhukant@protonmail.ch>
* 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