venues_general.go
func (s *VenueService) Search(params *VenueSearchParams) ([]Venue, *http.Response, error) {
	venues := new(venueSearchResp)
	response := new(Response)

	resp, err := s.sling.New().Get("search").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.Venues, resp, relevantError(err, *response)
}
func (s *VenueService) Search(params *VenueSearchParams) ([]Venue, *http.Response, error) {
	venues := new(venueSearchResp)
	response := new(Response)

	resp, err := s.sling.New().Get("search").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.Venues, resp, relevantError(err, *response)
}
// Search returns a list of venues near the current location, optionally matching a search term.
// https://developer.foursquare.com/docs/api/venues/search