From 942f1f1be027a536b6a152caadd85a7af1a1fdd4 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 29 Jun 2022 22:51:43 +0530 Subject: fixed all bad imports importing older version --- manga/client.go | 2 +- manga/manga.go | 4 ++-- manga/manga.structs.go | 2 +- manga/request_handler.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'manga') 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" ) -- cgit v1.2.3