aboutsummaryrefslogtreecommitdiff
path: root/ui/list.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 /ui/list.go
parenta44d6eb2fdddc75983c735e1a0fa744014db9593 (diff)
migrated from MAL2Go to mg package
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)