Update README.md
This commit is contained in:
parent
db5bf6d2d3
commit
c131693a53
@ -25,11 +25,7 @@ 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 (
|
|
||||||
"github.com/irlndts/go-discogs"
|
|
||||||
)
|
|
||||||
```
|
```
|
||||||
```go
|
```go
|
||||||
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")
|
||||||
|
Reference in New Issue
Block a user