From 24ea0db80befd3bf5a67781084f48f0fa764d74f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 16 Jun 2022 15:34:52 +0530 Subject: added user-info command --- mal/mal.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mal/mal.go') diff --git a/mal/mal.go b/mal/mal.go index b961bfd..da25eb3 100644 --- a/mal/mal.go +++ b/mal/mal.go @@ -22,12 +22,14 @@ import ( "github.com/MikunoNaka/macli/auth" a "github.com/MikunoNaka/MAL2Go/anime" m "github.com/MikunoNaka/MAL2Go/manga" + u "github.com/MikunoNaka/MAL2Go/user" ua "github.com/MikunoNaka/MAL2Go/user/anime" um "github.com/MikunoNaka/MAL2Go/user/manga" ) var animeClient a.Client var mangaClient m.Client +var userClient u.Client var userAnimeClient ua.Client var userMangaClient um.Client @@ -37,6 +39,7 @@ func Init() { // initialise MAL2Go Client(s) animeClient.AuthToken = "Bearer " + secret mangaClient.AuthToken = "Bearer " + secret + userClient.AuthToken = "Bearer " + secret userAnimeClient.AuthToken = "Bearer " + secret userMangaClient.AuthToken = "Bearer " + secret } -- cgit v1.2.3