aboutsummaryrefslogtreecommitdiff
path: root/ui/list.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/list.go')
-rw-r--r--ui/list.go7
1 files changed, 3 insertions, 4 deletions
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 <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)