diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 15:34:52 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 15:34:52 +0530 |
commit | 24ea0db80befd3bf5a67781084f48f0fa764d74f (patch) | |
tree | 9c1f721ebc59a6200cbcfb78caac22361923737d /mal/mal.go | |
parent | e93a197b6f47ed45e5f2dbe10762d6344a3e32c7 (diff) |
added user-info command
Diffstat (limited to 'mal/mal.go')
-rw-r--r-- | mal/mal.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } |