From f9bfcf8fba294c7c44af68446f8acc000b516c08 Mon Sep 17 00:00:00 2001 From: Abe Massry Date: Wed, 28 Aug 2019 05:53:11 -0400 Subject: [PATCH] Update search example for current code behavior (#29) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 97293e8..c71bebe 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ type SearchRequest struct { Example ```go request := discogs.SearchRequest{Artist: "reggaenauts", ReleaseTitle: "river rock", Page: 0, PerPage: 1} - search, _ := client.Search(request) + search, _ := client.Search.Search(request) for _, r := range search.Results { fmt.Println(r.Title)