Update search example for current code behavior (#29)

This commit is contained in:
Abe Massry 2019-08-28 05:53:11 -04:00 committed by Artem Piskun
parent 664896b3dd
commit f9bfcf8fba

View File

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