diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 00:54:35 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-04 00:54:35 +0530 |
commit | 72989b8e2fb6060f89cee60d32a0c84660792116 (patch) | |
tree | b3de54f1f2476dd0da831f0a5b9409ea31f4387d /user | |
parent | 2a1dc51d0bf9e4d440e33dc01f86947985aff787 (diff) |
Breaking Change: supporting NSFW titles
Diffstat (limited to 'user')
-rw-r--r-- | user/anime/animelist.go | 6 | ||||
-rw-r--r-- | user/anime/animelist.structs.go | 2 | ||||
-rw-r--r-- | user/anime/client.go | 2 | ||||
-rw-r--r-- | user/anime/update_animelist.go | 2 | ||||
-rw-r--r-- | user/client.go | 2 | ||||
-rw-r--r-- | user/manga/client.go | 2 | ||||
-rw-r--r-- | user/manga/mangalist.go | 6 | ||||
-rw-r--r-- | user/manga/mangalist.structs.go | 2 | ||||
-rw-r--r-- | user/manga/request_handler.go | 2 | ||||
-rw-r--r-- | user/manga/update_mangalist.go | 2 | ||||
-rw-r--r-- | user/request_handler.go | 2 |
11 files changed, 15 insertions, 15 deletions
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" diff --git a/user/client.go b/user/client.go index 32bdc34..a26856d 100644 --- a/user/client.go +++ b/user/client.go @@ -17,7 +17,7 @@ package user import ( - "github.com/MikunoNaka/MAL2Go/v2/util" + "github.com/MikunoNaka/MAL2Go/v3/util" ) type Client util.DefaultClient 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" diff --git a/user/request_handler.go b/user/request_handler.go index d2e1c34..df66abf 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/v2/util" + "github.com/MikunoNaka/MAL2Go/v3/util" "errors" "encoding/json" ) |