Update README.md

This commit is contained in:
Artem Piskun 2016-03-11 17:46:37 +03:00
parent b8e2c017d7
commit fd09f103fc
1 changed files with 3 additions and 5 deletions

View File

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