aboutsummaryrefslogtreecommitdiff
path: root/user/anime/client.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2022-02-17 14:51:50 +0000
committerGitHub <noreply@github.com>2022-02-17 14:51:50 +0000
commitb1ad199abaf9684b120d73acb04dddc213c87af8 (patch)
treea4c0a4650a94859eb256204dec25aa04ac8caf15 /user/anime/client.go
parent541c75949e862f6fd1081bc4081b08187fa7da7b (diff)
parent5c94f2f8e7026b9a4dff874edbf3b4fa3b266516 (diff)
Merge pull request #4 from MikunoNaka/user-animelist
Added all the endpoints to access user info and also update user animelist
Diffstat (limited to 'user/anime/client.go')
-rw-r--r--user/anime/client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/anime/client.go b/user/anime/client.go
index e9a99d3..eeba194 100644
--- a/user/anime/client.go
+++ b/user/anime/client.go
@@ -1,4 +1,4 @@
-/* mal2go - MyAnimeList V2 API wrapper for Go
+/* MAL2Go - MyAnimeList V2 API wrapper for Go
* Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
* This program is free software: you can redistribute it and/or modify
@@ -20,8 +20,8 @@ import (
"net/http"
)
-// MyAnimeList Client for mal2go/anime package
-type AnimeListClient struct {
+// MyAnimeList Client for mal2go/user/anime package
+type Client struct {
AuthToken, RefreshToken string
HttpClient http.Client
}