From c131693a5387f0d9b39d4cc27061f6712a86de99 Mon Sep 17 00:00:00 2001 From: Artem Piskun Date: Fri, 11 Mar 2016 17:54:33 +0300 Subject: [PATCH] Update README.md --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 097eeb0..8769442 100644 --- a/README.md +++ b/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