From 1395d849470cc564d593bd2074a69f012e4f70ce Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 29 Jun 2022 23:46:53 +0530 Subject: migrated from MAL2Go v1 to v2 --- mal/search.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mal/search.go') diff --git a/mal/search.go b/mal/search.go index 703cdb4..8fee461 100644 --- a/mal/search.go +++ b/mal/search.go @@ -21,8 +21,8 @@ package mal import ( "fmt" "os" - a "github.com/MikunoNaka/MAL2Go/anime" - m "github.com/MikunoNaka/MAL2Go/manga" + a "github.com/MikunoNaka/MAL2Go/v2/anime" + m "github.com/MikunoNaka/MAL2Go/v2/manga" ) func SearchAnime(searchString string) []a.Anime { @@ -36,7 +36,7 @@ func SearchAnime(searchString string) []a.Anime { os.Exit(1) } - return res.Animes + return res } func SearchManga(searchString string) []m.Manga { @@ -50,5 +50,5 @@ func SearchManga(searchString string) []m.Manga { os.Exit(1) } - return res.Mangas + return res } -- cgit v1.2.3