From 2bf5302f9a653f46f7932329fd03aa3688afc35b Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 28 Feb 2022 11:54:27 +0530 Subject: documented all the functions in user/anime --- anime/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anime/README.md') diff --git a/anime/README.md b/anime/README.md index e20f080..5ea7922 100644 --- a/anime/README.md +++ b/anime/README.md @@ -58,7 +58,7 @@ 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.ListPaging.NextPage, searchResults.ListPaging.PrevPage) +fmt.Println(searchResults.Paging.NextPage, searchResults.Paging.PrevPage) ``` - ### Getting an anime's info @@ -162,7 +162,7 @@ for _, anime := range suggestedAnime.Animes { fmt.Println(anime.Titile) } -fmt.Println(suggestedAnime.ListPaging.NextPage, suggestedAnime.ListPaging.PrevPage) +fmt.Println(suggestedAnime.Paging.NextPage, suggestedAnime.Paging.PrevPage) ``` ## Structure -- cgit v1.2.3