From f23ff3d03e21de87be999a36f955aceb1ef5ff1c Mon Sep 17 00:00:00 2001 From: Felipe M Date: Wed, 10 Mar 2021 12:07:44 +0100 Subject: [PATCH] Fix README typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f774591..59a760b 100644 --- a/README.md +++ b/README.md @@ -15,18 +15,18 @@ import ( func main() { // Retrieve manga information - manga, err := mangadex.GetManga(123) + manga, errManga := mangadex.GetManga(123) if errManga != nil { log.Println("Error retrieving manga: %s", errManga) } - // Retrieve a list of chapters + // Retrieve a list of chapters chaptersRequest := NewGetChaptersParams() chapters, errChapterList = manga.getChapters(chaptersRequest) if errChapterList != nil { log.Println("Error retrieving chapters page %d: %s", chaptersRequest.Page, errChapterList) } - + // Disables chache reads for requests beyond this point mangadex.DisableCache()