aboutsummaryrefslogtreecommitdiff
path: root/cmd/search.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 10:57:27 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 10:57:27 +0530
commitfff3dadabc321871e6819392efc605c6dffe2e69 (patch)
tree25aceed23b73b2ad975a06d73fad091d0886a2a6 /cmd/search.go
parenta44d6eb2fdddc75983c735e1a0fa744014db9593 (diff)
migrated from MAL2Go to mg package
Diffstat (limited to 'cmd/search.go')
-rw-r--r--cmd/search.go14
1 files changed, 6 insertions, 8 deletions
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{}