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 --- ui/list.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui/list.go') diff --git a/ui/list.go b/ui/list.go index a46fbb3..1c3d2c6 100644 --- a/ui/list.go +++ b/ui/list.go @@ -19,14 +19,13 @@ along with this program. If not, see . package ui import ( - a "github.com/MikunoNaka/MAL2Go/v4/anime" - m "github.com/MikunoNaka/MAL2Go/v4/manga" + "vidhukant.com/mg" "github.com/jedib0t/go-pretty/v6/table" "fmt" "os" ) -func AnimeList(animes []a.Anime) { +func AnimeList(animes []mg.Anime) { t := table.NewWriter() t.SetOutputMirror(os.Stdout) @@ -52,7 +51,7 @@ func AnimeList(animes []a.Anime) { t.Render() } -func MangaList(mangas []m.Manga) { +func MangaList(mangas []mg.Manga) { t := table.NewWriter() t.SetOutputMirror(os.Stdout) -- cgit v1.2.3