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/search.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'cmd/search.go') diff --git a/cmd/search.go b/cmd/search.go index 8413804..48877f9 100644 --- a/cmd/search.go +++ b/cmd/search.go @@ -22,12 +22,10 @@ import ( "fmt" "os" "strings" - - "github.com/MikunoNaka/macli/mal" - "github.com/MikunoNaka/macli/ui" - "github.com/MikunoNaka/macli/util" - a "github.com/MikunoNaka/MAL2Go/v4/anime" - m "github.com/MikunoNaka/MAL2Go/v4/manga" + "vidhukant.com/macli/mal" + "vidhukant.com/macli/ui" + "vidhukant.com/macli/util" + "vidhukant.com/mg" "github.com/spf13/cobra" ) @@ -70,7 +68,7 @@ var searchCmd = &cobra.Command { } func searchManga(searchInput string) { - var selectedManga m.Manga + var selectedManga mg.Manga mangaId := entryId fields := []string{} @@ -97,7 +95,7 @@ func searchManga(searchInput string) { } func searchAnime(searchInput string) { - var selectedAnime a.Anime + var selectedAnime mg.Anime animeId := entryId fields := []string{} -- cgit v1.2.3