diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-29 22:51:43 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-29 22:51:43 +0530 |
commit | 942f1f1be027a536b6a152caadd85a7af1a1fdd4 (patch) | |
tree | b0b60359b7d27d2e69cafd15ab4963c6e3d62264 /manga | |
parent | 7215c7f3bb6ae6e9c5c240be1f0429fb2fafab28 (diff) |
fixed all bad imports importing older version
Diffstat (limited to 'manga')
-rw-r--r-- | manga/client.go | 2 | ||||
-rw-r--r-- | manga/manga.go | 4 | ||||
-rw-r--r-- | manga/manga.structs.go | 2 | ||||
-rw-r--r-- | manga/request_handler.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/manga/client.go b/manga/client.go index 272bfff..4622835 100644 --- a/manga/client.go +++ b/manga/client.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/manga/manga.go b/manga/manga.go index c83200a..576526c 100644 --- a/manga/manga.go +++ b/manga/manga.go @@ -19,8 +19,8 @@ package manga import ( "encoding/json" "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/manga" diff --git a/manga/manga.structs.go b/manga/manga.structs.go index ed94111..2e79362 100644 --- a/manga/manga.structs.go +++ b/manga/manga.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Author struct { diff --git a/manga/request_handler.go b/manga/request_handler.go index 8484a57..070ea6b 100644 --- a/manga/request_handler.go +++ b/manga/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" ) |