Update search example for current code behavior (#29)
This commit is contained in:
parent
664896b3dd
commit
f9bfcf8fba
@ -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)
|
||||
|
Reference in New Issue
Block a user