From 83d3334321dc5f1e9579282b4d0af67532c1eaa7 Mon Sep 17 00:00:00 2001 From: Artem Piskun Date: Mon, 14 Mar 2016 14:19:41 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8769442..56c9381 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com") #### Releases ```go params := &discogs.ReleaseParams{Release_id: "8138518"} - release, _, err := d.Release.Release(params) + release, _, err := client.Release.Release(params) fmt.Println(fmt.Println(release.Artists[0].Name, " - ", release.Title)) // St. Petersburg Ska-Jazz Review - Elephant Riddim ``` @@ -42,7 +42,7 @@ client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com") #### Artists ```go params := &discogs.LabelParams{Label_id: "890477", Page: 2, Per_page: 3} - label, _, err := d.Label.Releases(params) + label, _, err := client.Label.Releases(params) for _, release := range label.Releases { fmt.Println(release.Title)