From 34b57630e01f7be3f1c029e7541be3b40d105c7a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 6 Jul 2022 22:46:27 +0530 Subject: migrating all imports to v4 --- user/anime/animelist.go | 6 +++--- user/anime/animelist.structs.go | 2 +- user/anime/client.go | 2 +- user/anime/request_handler.go | 2 +- user/anime/update_animelist.go | 2 +- 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 +- 12 files changed, 16 insertions(+), 16 deletions(-) (limited to 'user') diff --git a/user/anime/animelist.go b/user/anime/animelist.go index 6c8453c..3ed101e 100644 --- a/user/anime/animelist.go +++ b/user/anime/animelist.go @@ -20,9 +20,9 @@ import ( "encoding/json" "strconv" "fmt" - a "github.com/MikunoNaka/MAL2Go/v3/anime" - e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" - u "github.com/MikunoNaka/MAL2Go/v3/util" + a "github.com/MikunoNaka/MAL2Go/v4/anime" + e "github.com/MikunoNaka/MAL2Go/v4/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v4/util" ) const BASE_URL string = "https://api.myanimelist.net/v2" diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go index 3097c12..6f2417b 100644 --- a/user/anime/animelist.structs.go +++ b/user/anime/animelist.structs.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/v3/anime" + "github.com/MikunoNaka/MAL2Go/v4/anime" ) type animeListRaw struct { diff --git a/user/anime/client.go b/user/anime/client.go index 1ce3dd2..aa4962f 100644 --- a/user/anime/client.go +++ b/user/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/user/anime/request_handler.go b/user/anime/request_handler.go index 58474ee..9ca1cb4 100644 --- a/user/anime/request_handler.go +++ b/user/anime/request_handler.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" "errors" - "github.com/MikunoNaka/MAL2Go/v3/util" + "github.com/MikunoNaka/MAL2Go/v4/util" ) type UpdateResponse struct { diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go index 111572a..dfec5e7 100644 --- a/user/anime/update_animelist.go +++ b/user/anime/update_animelist.go @@ -16,7 +16,7 @@ package anime import ( - e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v4/errhandlers" "fmt" "net/url" "strconv" diff --git a/user/client.go b/user/client.go index a26856d..3681640 100644 --- a/user/client.go +++ b/user/client.go @@ -17,7 +17,7 @@ package user import ( - "github.com/MikunoNaka/MAL2Go/v3/util" + "github.com/MikunoNaka/MAL2Go/v4/util" ) type Client util.DefaultClient diff --git a/user/manga/client.go b/user/manga/client.go index 5847ed8..b674854 100644 --- a/user/manga/client.go +++ b/user/manga/client.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/v3/util" + "github.com/MikunoNaka/MAL2Go/v4/util" ) type Client util.DefaultClient diff --git a/user/manga/mangalist.go b/user/manga/mangalist.go index 8408bde..7843432 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/v3/errhandlers" - u "github.com/MikunoNaka/MAL2Go/v3/util" - m "github.com/MikunoNaka/MAL2Go/v3/manga" + e "github.com/MikunoNaka/MAL2Go/v4/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v4/util" + m "github.com/MikunoNaka/MAL2Go/v4/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 3f338ae..f7cf97d 100644 --- a/user/manga/mangalist.structs.go +++ b/user/manga/mangalist.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/v3/manga" + "github.com/MikunoNaka/MAL2Go/v4/manga" ) type mangaListRaw struct { diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go index 7d89402..be7ff17 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/v3/util" + "github.com/MikunoNaka/MAL2Go/v4/util" ) type UpdateResponse struct { diff --git a/user/manga/update_mangalist.go b/user/manga/update_mangalist.go index f062be9..5dda7b4 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/v3/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v4/errhandlers" "fmt" "net/url" "strconv" diff --git a/user/request_handler.go b/user/request_handler.go index df66abf..4571b0b 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/v3/util" + "github.com/MikunoNaka/MAL2Go/v4/util" "errors" "encoding/json" ) -- cgit v1.2.3