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