From e143dc8955de158365e193882cb1b881abaa2d94 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 4 Jul 2022 01:04:20 +0530 Subject: migrating from MAL2Go v2 to v3 --- mal/mal.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mal/mal.go') diff --git a/mal/mal.go b/mal/mal.go index 2bc1672..a10d41a 100644 --- a/mal/mal.go +++ b/mal/mal.go @@ -20,11 +20,11 @@ package mal import ( "github.com/MikunoNaka/macli/auth" - a "github.com/MikunoNaka/MAL2Go/v2/anime" - m "github.com/MikunoNaka/MAL2Go/v2/manga" - u "github.com/MikunoNaka/MAL2Go/v2/user" - ua "github.com/MikunoNaka/MAL2Go/v2/user/anime" - um "github.com/MikunoNaka/MAL2Go/v2/user/manga" + a "github.com/MikunoNaka/MAL2Go/v3/anime" + m "github.com/MikunoNaka/MAL2Go/v3/manga" + u "github.com/MikunoNaka/MAL2Go/v3/user" + ua "github.com/MikunoNaka/MAL2Go/v3/user/anime" + um "github.com/MikunoNaka/MAL2Go/v3/user/manga" ) var ( @@ -35,6 +35,7 @@ var ( userMangaClient um.Client SearchLength, SearchOffset int + SearchNSFW bool ) // init() would kill the program prematurely on `macli login` command -- cgit v1.2.3