From 3b429fe70ab3004e9d613df745e62a0da9fab552 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 6 Jul 2022 22:52:29 +0530 Subject: migrating to MAL2Gov4 --- mal/data.go | 4 ++-- mal/delete.go | 4 ++-- mal/episodes.go | 4 ++-- mal/mal.go | 10 +++++----- mal/score.go | 4 ++-- mal/search.go | 4 ++-- mal/status.go | 4 ++-- mal/user.go | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'mal') diff --git a/mal/data.go b/mal/data.go index a488413..59b0e9a 100644 --- a/mal/data.go +++ b/mal/data.go @@ -21,8 +21,8 @@ package mal import ( "fmt" "os" - m "github.com/MikunoNaka/MAL2Go/v3/manga" - a "github.com/MikunoNaka/MAL2Go/v3/anime" + m "github.com/MikunoNaka/MAL2Go/v4/manga" + a "github.com/MikunoNaka/MAL2Go/v4/anime" ) // because MAL2Go/Anime.SearchAnime won't give us all the data sometimes diff --git a/mal/delete.go b/mal/delete.go index 5a4abca..e6cfd32 100644 --- a/mal/delete.go +++ b/mal/delete.go @@ -21,8 +21,8 @@ package mal import ( "fmt" // "os" - a "github.com/MikunoNaka/MAL2Go/v3/anime" - m "github.com/MikunoNaka/MAL2Go/v3/manga" + a "github.com/MikunoNaka/MAL2Go/v4/anime" + m "github.com/MikunoNaka/MAL2Go/v4/manga" ) func DeleteAnime(anime a.Anime) { diff --git a/mal/episodes.go b/mal/episodes.go index 56794bb..43b69c0 100644 --- a/mal/episodes.go +++ b/mal/episodes.go @@ -21,8 +21,8 @@ package mal import ( "fmt" "os" - a "github.com/MikunoNaka/MAL2Go/v3/user/anime" - m "github.com/MikunoNaka/MAL2Go/v3/user/manga" + a "github.com/MikunoNaka/MAL2Go/v4/user/anime" + m "github.com/MikunoNaka/MAL2Go/v4/user/manga" "github.com/MikunoNaka/macli/util" ) diff --git a/mal/mal.go b/mal/mal.go index a10d41a..cb9665e 100644 --- a/mal/mal.go +++ b/mal/mal.go @@ -20,11 +20,11 @@ package mal import ( "github.com/MikunoNaka/macli/auth" - a "github.com/MikunoNaka/MAL2Go/v3/anime" - m "github.com/MikunoNaka/MAL2Go/v3/manga" - u "github.com/MikunoNaka/MAL2Go/v3/user" - ua "github.com/MikunoNaka/MAL2Go/v3/user/anime" - um "github.com/MikunoNaka/MAL2Go/v3/user/manga" + a "github.com/MikunoNaka/MAL2Go/v4/anime" + m "github.com/MikunoNaka/MAL2Go/v4/manga" + u "github.com/MikunoNaka/MAL2Go/v4/user" + ua "github.com/MikunoNaka/MAL2Go/v4/user/anime" + um "github.com/MikunoNaka/MAL2Go/v4/user/manga" ) var ( diff --git a/mal/score.go b/mal/score.go index 0540192..2db6000 100644 --- a/mal/score.go +++ b/mal/score.go @@ -20,8 +20,8 @@ package mal import ( "fmt" - a "github.com/MikunoNaka/MAL2Go/v3/user/anime" - m "github.com/MikunoNaka/MAL2Go/v3/user/manga" + a "github.com/MikunoNaka/MAL2Go/v4/user/anime" + m "github.com/MikunoNaka/MAL2Go/v4/user/manga" ) func SetAnimeScore(animeId, score int) a.UpdateResponse { diff --git a/mal/search.go b/mal/search.go index e1c8166..1bad114 100644 --- a/mal/search.go +++ b/mal/search.go @@ -21,8 +21,8 @@ package mal import ( "fmt" "os" - a "github.com/MikunoNaka/MAL2Go/v3/anime" - m "github.com/MikunoNaka/MAL2Go/v3/manga" + a "github.com/MikunoNaka/MAL2Go/v4/anime" + m "github.com/MikunoNaka/MAL2Go/v4/manga" ) func SearchAnime(searchString string, fields []string) []a.Anime { diff --git a/mal/status.go b/mal/status.go index e0656ed..e48f021 100644 --- a/mal/status.go +++ b/mal/status.go @@ -21,8 +21,8 @@ package mal import ( "fmt" "os" - a "github.com/MikunoNaka/MAL2Go/v3/user/anime" - m "github.com/MikunoNaka/MAL2Go/v3/user/manga" + a "github.com/MikunoNaka/MAL2Go/v4/user/anime" + m "github.com/MikunoNaka/MAL2Go/v4/user/manga" ) func SetAnimeStatus(animeId int, status string) a.UpdateResponse { diff --git a/mal/user.go b/mal/user.go index c720fa1..c271aab 100644 --- a/mal/user.go +++ b/mal/user.go @@ -19,7 +19,7 @@ along with this program. If not, see . package mal import ( - u "github.com/MikunoNaka/MAL2Go/v3/user" + u "github.com/MikunoNaka/MAL2Go/v4/user" "fmt" "os" ) -- cgit v1.2.3