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.
|
||||
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
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/irlndts/go-discogs"
|
||||
)
|
||||
```
|
||||
```go
|
||||
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
||||
import "github.com/irlndts/go-discogs"
|
||||
```
|
||||
```go
|
||||
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
||||
```
|
||||
|
||||
#### Releases
|
||||
|
Reference in New Issue
Block a user