diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 18:32:05 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 18:32:05 +0530 |
commit | 8a998a58e65fa435cdfc0134867a422d26af007f (patch) | |
tree | 93e141b28ef582ed79cc8169d41c93047bc2f5a7 /anime/README.md | |
parent | fccd266e2bb014582831d2125b050ee2c0e929c0 (diff) |
removed ListPaging from MAL2Go/anime package
Diffstat (limited to 'anime/README.md')
-rw-r--r-- | anime/README.md | 8 |
1 files changed, 0 insertions, 8 deletions
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 |