aboutsummaryrefslogtreecommitdiff
path: root/anime
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:46:27 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 22:46:27 +0530
commit34b57630e01f7be3f1c029e7541be3b40d105c7a (patch)
tree2b9d6e2ea6fa04cee3b06b5d65f411fea1ba5a6d /anime
parentd7457e783bdd62f64df4791634c0705805b0ff62 (diff)
migrating all imports to v4
Diffstat (limited to 'anime')
-rw-r--r--anime/anime.go4
-rw-r--r--anime/anime.structs.go2
-rw-r--r--anime/client.go2
-rw-r--r--anime/request_handler.go2
4 files changed, 5 insertions, 5 deletions
diff --git a/anime/anime.go b/anime/anime.go
index f3bb691..794ab19 100644
--- a/anime/anime.go
+++ b/anime/anime.go
@@ -20,8 +20,8 @@ import (
"encoding/json"
"fmt"
"strconv"
- e "github.com/MikunoNaka/MAL2Go/v3/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/v3/util"
+ e "github.com/MikunoNaka/MAL2Go/v4/errhandlers"
+ u "github.com/MikunoNaka/MAL2Go/v4/util"
)
const BASE_URL string = "https://api.myanimelist.net/v2/anime"
diff --git a/anime/anime.structs.go b/anime/anime.structs.go
index 0dd689e..3db166a 100644
--- a/anime/anime.structs.go
+++ b/anime/anime.structs.go
@@ -17,7 +17,7 @@
package anime
import (
- u "github.com/MikunoNaka/MAL2Go/v3/util"
+ u "github.com/MikunoNaka/MAL2Go/v4/util"
)
type AnimeStatistics struct {
diff --git a/anime/client.go b/anime/client.go
index 1ce3dd2..aa4962f 100644
--- a/anime/client.go
+++ b/anime/client.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/v3/util"
+ "github.com/MikunoNaka/MAL2Go/v4/util"
)
type Client util.DefaultClient
diff --git a/anime/request_handler.go b/anime/request_handler.go
index e5521fd..0da337e 100644
--- a/anime/request_handler.go
+++ b/anime/request_handler.go
@@ -21,7 +21,7 @@ import (
"log"
"net/http"
"encoding/json"
- "github.com/MikunoNaka/MAL2Go/v3/util"
+ "github.com/MikunoNaka/MAL2Go/v4/util"
"errors"
)