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/anime/animelist.go | 6 +++--- user/anime/animelist.structs.go | 2 +- user/anime/client.go | 2 +- user/anime/update_animelist.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'user/anime') diff --git a/user/anime/animelist.go b/user/anime/animelist.go index d7a5b41..b950012 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/v2/anime" - e "github.com/MikunoNaka/MAL2Go/v2/errhandlers" - u "github.com/MikunoNaka/MAL2Go/v2/util" + a "github.com/MikunoNaka/MAL2Go/v3/anime" + e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" + u "github.com/MikunoNaka/MAL2Go/v3/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 9f83f82..3097c12 100644 --- a/user/anime/animelist.structs.go +++ b/user/anime/animelist.structs.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/v2/anime" + "github.com/MikunoNaka/MAL2Go/v3/anime" ) type animeListRaw struct { diff --git a/user/anime/client.go b/user/anime/client.go index 090571b..1ce3dd2 100644 --- a/user/anime/client.go +++ b/user/anime/client.go @@ -17,7 +17,7 @@ package anime import ( - "github.com/MikunoNaka/MAL2Go/v2/util" + "github.com/MikunoNaka/MAL2Go/v3/util" ) type Client util.DefaultClient diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go index d8c936a..111572a 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/v2/errhandlers" + e "github.com/MikunoNaka/MAL2Go/v3/errhandlers" "fmt" "net/url" "strconv" -- cgit v1.2.3