diff options
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 } |