diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-15 10:57:27 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-15 10:57:27 +0530 |
commit | fff3dadabc321871e6819392efc605c6dffe2e69 (patch) | |
tree | 25aceed23b73b2ad975a06d73fad091d0886a2a6 /ui/list.go | |
parent | a44d6eb2fdddc75983c735e1a0fa744014db9593 (diff) |
migrated from MAL2Go to mg package
Diffstat (limited to 'ui/list.go')
-rw-r--r-- | ui/list.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -19,14 +19,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. 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) |