From fff3dadabc321871e6819392efc605c6dffe2e69 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 15 Aug 2023 10:57:27 +0530 Subject: migrated from MAL2Go to mg package --- cmd/status.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'cmd/status.go') diff --git a/cmd/status.go b/cmd/status.go index 6b63def..533f465 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -22,12 +22,10 @@ import ( "fmt" "os" "strings" - "github.com/MikunoNaka/macli/ui" - "github.com/MikunoNaka/macli/util" - "github.com/MikunoNaka/macli/mal" - a "github.com/MikunoNaka/MAL2Go/v4/anime" - m "github.com/MikunoNaka/MAL2Go/v4/manga" - + "vidhukant.com/macli/ui" + "vidhukant.com/macli/util" + "vidhukant.com/macli/mal" + "vidhukant.com/mg" "github.com/spf13/cobra" ) @@ -78,7 +76,7 @@ var statusCmd = &cobra.Command{ } func setAnimeStatus(statusInput, searchInput string) { - var selectedAnime a.Anime + var selectedAnime mg.Anime if entryId > 0 { selectedAnime = mal.GetAnimeData(entryId, []string{"my_list_status"}) } @@ -112,7 +110,7 @@ func setAnimeStatus(statusInput, searchInput string) { } func setMangaStatus(statusInput, searchInput string) { - var selectedManga m.Manga + var selectedManga mg.Manga if entryId > 0 { selectedManga = mal.GetMangaData(entryId, []string{"my_list_status"}) } -- cgit v1.2.3