DSCGS-11 Cleanup

This commit is contained in:
irlndts 2018-03-17 20:59:51 +03:00
parent 33699d6ad5
commit 62ba69198d

View File

@ -66,6 +66,7 @@ type Result struct {
// Issue a search query to our database. This endpoint accepts pagination parameters. // Issue a search query to our database. This endpoint accepts pagination parameters.
// Authentication (as any user) is required. // Authentication (as any user) is required.
// https://www.discogs.com/developers/#page:database,header:database-search // https://www.discogs.com/developers/#page:database,header:database-search
// TODO(irlndts): improve params to pass
func (s *SearchService) Search(params url.Values) (*Search, error) { func (s *SearchService) Search(params url.Values) (*Search, error) {
var search *Search var search *Search
if err := request(s.url, params, &search); err != nil { if err := request(s.url, params, &search); err != nil {