Update README.md

This commit is contained in:
Artem Piskun 2016-03-11 17:54:33 +03:00
parent db5bf6d2d3
commit c131693a53

View File

@ -25,11 +25,7 @@ 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"
)
import "github.com/irlndts/go-discogs"
```
```go
client := discogs.NewClient().UserAgent("TestDiscogsClient/0.0.1 +example.com")