aboutsummaryrefslogtreecommitdiff
path: root/mal/mal.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 23:01:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 23:01:52 +0530
commitc45cb6ebe10084d10f4fcf6189f26199f0913402 (patch)
treeecc39f3e2db66903ebea06b54edbd1423db7a09a /mal/mal.go
parent24ea0db80befd3bf5a67781084f48f0fa764d74f (diff)
renamed Init to init function in mal because it should be called automatically
Diffstat (limited to 'mal/mal.go')
-rw-r--r--mal/mal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mal/mal.go b/mal/mal.go
index da25eb3..362b51b 100644
--- a/mal/mal.go
+++ b/mal/mal.go
@@ -33,7 +33,7 @@ var userClient u.Client
var userAnimeClient ua.Client
var userMangaClient um.Client
-func Init() {
+func init() {
secret := auth.GetToken()
// initialise MAL2Go Client(s)