aboutsummaryrefslogtreecommitdiff
path: root/anime
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:51:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-29 22:51:43 +0530
commit942f1f1be027a536b6a152caadd85a7af1a1fdd4 (patch)
treeb0b60359b7d27d2e69cafd15ab4963c6e3d62264 /anime
parent7215c7f3bb6ae6e9c5c240be1f0429fb2fafab28 (diff)
fixed all bad imports importing older version
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 ed18a52..7181e37 100644
--- a/anime/anime.go
+++ b/anime/anime.go
@@ -20,8 +20,8 @@ import (
"encoding/json"
"fmt"
"strconv"
- e "github.com/MikunoNaka/MAL2Go/errhandlers"
- u "github.com/MikunoNaka/MAL2Go/util"
+ e "github.com/MikunoNaka/MAL2Go/v2/errhandlers"
+ u "github.com/MikunoNaka/MAL2Go/v2/util"
)
const BASE_URL string = "https://api.myanimelist.net/v2/anime"
diff --git a/anime/anime.structs.go b/anime/anime.structs.go
index 9466232..55f2df2 100644
--- a/anime/anime.structs.go
+++ b/anime/anime.structs.go
@@ -17,7 +17,7 @@
package anime
import (
- u "github.com/MikunoNaka/MAL2Go/util"
+ u "github.com/MikunoNaka/MAL2Go/v2/util"
)
type AnimeStatistics struct {
diff --git a/anime/client.go b/anime/client.go
index e857df2..090571b 100644
--- a/anime/client.go
+++ b/anime/client.go
@@ -17,7 +17,7 @@
package anime
import (
- "github.com/MikunoNaka/MAL2Go/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
)
type Client util.DefaultClient
diff --git a/anime/request_handler.go b/anime/request_handler.go
index 816417e..1aec83b 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/util"
+ "github.com/MikunoNaka/MAL2Go/v2/util"
"errors"
)