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()