From fd09f103fc62113874ef3560febf0fdd3f6b81fb Mon Sep 17 00:00:00 2001 From: Artem Piskun Date: Fri, 11 Mar 2016 17:46:37 +0300 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c6a8cf2..097eeb0 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,10 @@ First of all import library and init client variable. According to discogs api d import ( "github.com/irlndts/go-discogs" - "net/http" ) - - func main(){ - client := discogs.NewClient(&http.Client{}).UserAgent("TestDiscogsClient/0.0.1 +example.com") - //.... + ``` + ```go + client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com") ``` #### Releases