Update README.md
This commit is contained in:
parent
b8e2c017d7
commit
fd09f103fc
@ -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
|
||||||
|
Reference in New Issue
Block a user