diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-15 12:59:22 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-15 12:59:22 +0530 |
commit | ab3db8a4ca89293ce0928177e8845d622f13755f (patch) | |
tree | e5331856b39b43cfea422f806aa046b0925e92e4 /mal/mal.go | |
parent | 5eb7a3cd41826fccdc432d049dd85a31b4b56073 (diff) |
added pretty template for TextInput
Diffstat (limited to 'mal/mal.go')
-rw-r--r-- | mal/mal.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 } |