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
}
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
}
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 }
// newDigitalOceanChanges returns a collection of Changes based on the given records and action.
newDigitalOceanChanges returns a collection of Changes based on the given records and action .