From 72989b8e2fb6060f89cee60d32a0c84660792116 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 4 Jul 2022 00:54:35 +0530 Subject: Breaking Change: supporting NSFW titles --- 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 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'user/manga') diff --git a/user/manga/client.go b/user/manga/client.go index 4622835..5847ed8 100644 --- a/user/manga/client.go +++ b/user/manga/client.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/v2/util" + "github.com/MikunoNaka/MAL2Go/v3/util" ) type Client util.DefaultClient diff --git a/user/manga/mangalist.go b/user/manga/mangalist.go index 7d7cadc..cde1ede 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/v2/errhandlers" - u "github.com/MikunoNaka/MAL2Go/v2/util" - m "github.com/MikunoNaka/MAL2Go/v2/manga" + e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v3/util" + m "github.com/MikunoNaka/MAL2Go/v3/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 7b69586..3f338ae 100644 --- a/user/manga/mangalist.structs.go +++ b/user/manga/mangalist.structs.go @@ -17,7 +17,7 @@ package manga import ( - "github.com/MikunoNaka/MAL2Go/v2/manga" + "github.com/MikunoNaka/MAL2Go/v3/manga" ) type mangaListRaw struct { diff --git a/user/manga/request_handler.go b/user/manga/request_handler.go index edd8de6..7d89402 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/v2/util" + "github.com/MikunoNaka/MAL2Go/v3/util" ) type UpdateResponse struct { diff --git a/user/manga/update_mangalist.go b/user/manga/update_mangalist.go index 7d488dc..f062be9 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/v2/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" "fmt" "net/url" "strconv" -- cgit v1.2.3