From ab3db8a4ca89293ce0928177e8845d622f13755f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 15 Jun 2022 12:59:22 +0530 Subject: added pretty template for TextInput --- mal/mal.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mal/mal.go') diff --git a/mal/mal.go b/mal/mal.go index 491dbb6..c693f40 100644 --- a/mal/mal.go +++ b/mal/mal.go @@ -23,11 +23,15 @@ import ( "os" a "github.com/MikunoNaka/MAL2Go/anime" + m "github.com/MikunoNaka/MAL2Go/manga" ua "github.com/MikunoNaka/MAL2Go/user/anime" + um "github.com/MikunoNaka/MAL2Go/user/manga" ) var animeClient a.Client +var mangaClient m.Client var userAnimeClient ua.Client +var userMangaClient um.Client func init() { // TODO: don't load access token from .env @@ -35,5 +39,7 @@ func init() { // initialise MAL2Go Client(s) animeClient.AuthToken = "Bearer " + accessToken + mangaClient.AuthToken = "Bearer " + accessToken userAnimeClient.AuthToken = "Bearer " + accessToken + userMangaClient.AuthToken = "Bearer " + accessToken } -- cgit v1.2.3