Update README.md

This commit is contained in:
Artem Piskun 2016-03-11 17:46:37 +03:00
parent b8e2c017d7
commit fd09f103fc

View File

@ -29,12 +29,10 @@ First of all import library and init client variable. According to discogs api d
import ( import (
"github.com/irlndts/go-discogs" "github.com/irlndts/go-discogs"
"net/http"
) )
```
func main(){ ```go
client := discogs.NewClient(&http.Client{}).UserAgent("TestDiscogsClient/0.0.1 +example.com") client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
//....
``` ```
#### Releases #### Releases