From c45cb6ebe10084d10f4fcf6189f26199f0913402 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 16 Jun 2022 23:01:52 +0530 Subject: renamed Init to init function in mal because it should be called automatically --- mal/mal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mal') 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) -- cgit v1.2.3