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 --- user/client.go | 2 +- user/manga/client.go | 2 +- user/manga/mangalist.go | 6 +++--- user/manga/mangalist.structs.go | 2 +- user/manga/request_handler.go | 2 +- user/manga/update_mangalist.go | 2 +- user/request_handler.go | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'user') diff --git a/user/client.go b/user/client.go index 8a1105e..32bdc34 100644 --- a/user/client.go +++ b/user/client.go @@ -17,7 +17,7 @@ package user import ( - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type Client util.DefaultClient diff --git a/user/manga/client.go b/user/manga/client.go index 272bfff..4622835 100644 --- a/user/manga/client.go +++ b/user/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/user/manga/mangalist.go b/user/manga/mangalist.go index b60b1d7..7d7cadc 100644 --- a/user/manga/mangalist.go +++ b/user/manga/mangalist.go @@ -20,9 +20,9 @@ import ( "encoding/json" "strconv" "fmt" - e "github.com/MikunoNaka/MAL2Go/errhandlers" - u "github.com/MikunoNaka/MAL2Go/util" - m "github.com/MikunoNaka/MAL2Go/manga" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v2/util" + m "github.com/MikunoNaka/MAL2Go/v2/manga" ) const BASE_URL string = "https://api.myanimelist.net/v2" diff --git a/user/manga/mangalist.structs.go b/user/manga/mangalist.structs.go index d7e5352..7b69586 100644 --- a/user/manga/mangalist.structs.go +++ b/user/manga/mangalist.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/manga" + "github.com/MikunoNaka/MAL2Go/v2/manga" ) type mangaListRaw struct { diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go index 0258b38..edd8de6 100644 --- a/user/manga/request_handler.go +++ b/user/manga/request_handler.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" "errors" - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" ) type UpdateResponse struct { diff --git a/user/manga/update_mangalist.go b/user/manga/update_mangalist.go index b60bfd0..7d488dc 100644 --- a/user/manga/update_mangalist.go +++ b/user/manga/update_mangalist.go @@ -16,7 +16,7 @@ package manga import ( - e "github.com/MikunoNaka/MAL2Go/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" "fmt" "net/url" "strconv" diff --git a/user/request_handler.go b/user/request_handler.go index b401fc1..d2e1c34 100644 --- a/user/request_handler.go +++ b/user/request_handler.go @@ -20,7 +20,7 @@ import ( "io/ioutil" "log" "net/http" - "github.com/MikunoNaka/MAL2Go/util" + "github.com/MikunoNaka/MAL2Go/v2/util" "errors" "encoding/json" ) -- cgit v1.2.3