diff --git a/discogs/discogs.go b/discogs/discogs.go deleted file mode 100644 index b394872..0000000 --- a/discogs/discogs.go +++ /dev/null @@ -1,23 +0,0 @@ -package discogs - -import ( - "github.com/irlndts/go-apirequest" - "net/http" -) - -const discogsAPI = "https://api.discogs.com/" - -// Client is a Discogs client for making Discogs API requests. -type Client struct { - api *apirequest.API - Releases *ReleaseService -} - -// NewClient returns a new Client. -func NewClient(httpClient *http.Client) *Client { - base := apirequest.New().Client(httpClient).Base(discogsAPI) - return &Client{ - api: base, - Releases: newReleaseService(base.New()), - } -} diff --git a/discogs/releases.go b/discogs/releases.go deleted file mode 100644 index 0e1ab70..0000000 --- a/discogs/releases.go +++ /dev/null @@ -1,15 +0,0 @@ -package discogs - -import ( - "github.com/irlndts/go-apirequest" -) - -type ReleaseService struct { - api *apirequest.API -} - -func newReleaseService(api *apirequest.API) *ReleaseService { - return &ReleaseService{ - api: api.Path("releases/"), - } -}