code: func newDigitalOceanChanges(action string, endpoints []*endpoint.Endpoint) []*DigitalOceanChange {
  	changes := make([]*DigitalOceanChange, 0, len(endpoints))
  
  	for _, endpoint := range endpoints {
  		changes = append(changes, newDigitalOceanChange(action, endpoint))
  	}
  
  	return changes
  }
docs: // newDigitalOceanChanges returns a collection of Changes based on the given records and action.