diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-03 22:57:06 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-03 22:57:06 +0530 |
commit | bd0da056a9f4c1246ad5a980b1c824b7382478cf (patch) | |
tree | 3aedc5be2f841f8492b176cc77dcc95087caeede /mal/mal.go | |
parent | 8494b2933908d54d0c64ca08d877efe4e3d8d7b3 (diff) |
dynamically handling prompt length, search length, offset, etc
Diffstat (limited to 'mal/mal.go')
-rw-r--r-- | mal/mal.go | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -27,11 +27,15 @@ import ( um "github.com/MikunoNaka/MAL2Go/v2/user/manga" ) -var animeClient a.Client -var mangaClient m.Client -var userClient u.Client -var userAnimeClient ua.Client -var userMangaClient um.Client +var ( + animeClient a.Client + mangaClient m.Client + userClient u.Client + userAnimeClient ua.Client + userMangaClient um.Client + + SearchLength, SearchOffset int +) // init() would kill the program prematurely on `macli login` command func Init() { |