Update README.md
This commit is contained in:
parent
db5bf6d2d3
commit
c131693a53
12
README.md
12
README.md
@ -25,14 +25,10 @@ Usage
|
|||||||
The discogs package provides a client for accessing the Discogs API.
|
The discogs package provides a client for accessing the Discogs API.
|
||||||
First of all import library and init client variable. According to discogs api documentation you [must provide your user-agent](https://www.discogs.com/developers/#page:home,header:home-general-information).
|
First of all import library and init client variable. According to discogs api documentation you [must provide your user-agent](https://www.discogs.com/developers/#page:home,header:home-general-information).
|
||||||
```go
|
```go
|
||||||
package main
|
import "github.com/irlndts/go-discogs"
|
||||||
|
```
|
||||||
import (
|
```go
|
||||||
"github.com/irlndts/go-discogs"
|
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
||||||
)
|
|
||||||
```
|
|
||||||
```go
|
|
||||||
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Releases
|
#### Releases
|
||||||
|
Reference in New Issue
Block a user