aboutsummaryrefslogtreecommitdiff
path: root/anime
diff options
context:
space:
mode:
Diffstat (limited to 'anime')
-rw-r--r--anime/README.md4
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