code: func (im *InMemoryProvider) Records() ([]*endpoint.Endpoint, error) {
  	defer im.OnRecords()
  
  	endpoints := make([]*endpoint.Endpoint, 0)
  
  	for zoneID := range im.Zones() {
  		records, err := im.client.Records(zoneID)
  		if err != nil {
  			return nil, err
  		}
  
  		for _, record := range records {
  			endpoints = append(endpoints, endpoint.NewEndpoint(record.Name, record.Type, record.Target))
  		}
  	}
  
  	return endpoints, nil
  }
docs: // Records returns the list of endpoints