aboutsummaryrefslogtreecommitdiff
path: root/manga
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-23 21:38:10 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-23 21:38:10 +0530
commit3d0196e8b861675507954b9569b98058ca747137 (patch)
tree2c94e70e893f7394b3d3c535a64634740839a4e1 /manga
parent9aeafb3e899ca96a7514d9756728afebcb907d55 (diff)
fixed typo
Diffstat (limited to 'manga')
-rw-r--r--manga/manga.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/manga/manga.go b/manga/manga.go
index 9979bff..35b3a3d 100644
--- a/manga/manga.go
+++ b/manga/manga.go
@@ -97,7 +97,7 @@ func (c Client) GetMangaById(mangaId int, fields []string) (Manga, error) {
return manga, nil
}
-// Ranking is a list of anime sorted by their rank
+// Ranking is a list of manga sorted by their rank
func (c Client) GetMangaRanking(rankingType string, limit, offset int, fields []string) (MangaRanking, error) {
var mangaRanking MangaRanking
@@ -130,7 +130,7 @@ func (c Client) GetMangaRanking(rankingType string, limit, offset int, fields []
data := c.requestHandler(endpoint)
json.Unmarshal([]byte(data), &rankingData)
- // Adding all the animes in ranking list to a slice
+ // Adding all the mangas in ranking list to a slice
var mangas []rManga
for _, manga := range rankingData.Data {