From 3d0196e8b861675507954b9569b98058ca747137 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 23 Feb 2022 21:38:10 +0530 Subject: fixed typo --- manga/manga.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manga/manga.go') 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 { -- cgit v1.2.3