diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-28 11:54:27 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-28 11:54:27 +0530 |
commit | 2bf5302f9a653f46f7932329fd03aa3688afc35b (patch) | |
tree | 73b2a3fd2d972ef1735a4b6f450bfa1ca02aa1ec /anime/README.md | |
parent | 06425ac756f916bca10d0f8797cf575a77dcf69d (diff) |
documented all the functions in user/anime
Diffstat (limited to 'anime/README.md')
-rw-r--r-- | anime/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 |