From 8a998a58e65fa435cdfc0134867a422d26af007f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 16 Jun 2022 18:32:05 +0530 Subject: removed ListPaging from MAL2Go/anime package --- anime/README.md | 8 -------- 1 file changed, 8 deletions(-) (limited to 'anime/README.md') diff --git a/anime/README.md b/anime/README.md index 72c92b7..75a48e8 100644 --- a/anime/README.md +++ b/anime/README.md @@ -56,9 +56,6 @@ fields := []string{ searchResults, err := myClient.SearchAnime(searchString, limit, offset, fields) fmt.Println(searchResults.Animes) // print list of the search results - -// results have page numbers -fmt.Println(searchResults.Paging.NextPage, searchResults.Paging.PrevPage) ``` - ### Getting an anime's info @@ -103,9 +100,6 @@ ranking, err := myClient.GetAnimeRanking(rankingType, limit, offset, fields) for _, anime := range ranking.Animes { fmt.Printf("Title: %s, Rank Number: %d", anime.Title, anime.RankNum) } - -// ranking lists have page numbers -fmt.Println(ranking.Paging.NextPage, ranking.Paging.PrevPage) ``` - ### Get seasonal anime @@ -140,7 +134,6 @@ for _, anime := range seasonalAnime.Animes { } fmt.Println(seaonalAnime.Season) -fmt.Println(seasonalAnime.Paging.NextPage, seasonalAnime.Paging.PrevPage) ``` - ### Get suggested anime @@ -159,7 +152,6 @@ for _, anime := range suggestedAnime.Animes { fmt.Println(anime.Titile) } -fmt.Println(suggestedAnime.Paging.NextPage, suggestedAnime.Paging.PrevPage) ``` ## Structure -- cgit v1.2.3