venues_aspects.go
func (s *VenueService) NextVenues(id string) ([]Venue, *http.Response, error) {
	venues := new(venueNextVenuesResp)
	response := new(Response)

	resp, err := s.sling.New().Get(id+"/nextvenues").Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.NextVenues.Items, resp, relevantError(err, *response)
}
func (s *VenueService) NextVenues(id string) ([]Venue, *http.Response, error) {
	venues := new(venueNextVenuesResp)
	response := new(Response)

	resp, err := s.sling.New().Get(id+"/nextvenues").Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.NextVenues.Items, resp, relevantError(err, *response)
}
func ( s * VenueService ) NextVenues ( id string ) ( [ ] Venue , * http . Response , error ) { venues := new ( venueNextVenuesResp ) response := new ( Response ) resp , err := s . sling . New ( ) . Get ( id + " " ) . Receive ( response , response ) if err == nil { json . Unmarshal ( response . Response , venues ) } return venues . NextVenues . Items , resp , relevantError ( err , * response ) }
// NextVenues returns venues that are checked into after the given one
// https://developer.foursquare.com/docs/api/venues/nextvenues
NextVenues returns venues that are checked into after the given one https : // developer . foursquare . com / docs / api / venues / nextvenues