code: func addReceivedIntervals(intervals []contract.Interval) error {
  	for _, interval := range intervals {
  		err := scClient.AddIntervalToQueue(interval)
  		if err != nil {
  			LoggingClient.Info("problem adding support-scheduler interval name: %s - %s", interval.Name, err.Error())
  			return err
  		}
  		LoggingClient.Info("added interval", "name", interval.Name, "id", interval.ID)
  	}
  	return nil
  }
docs: // Iterate over the received intervals add them to scheduler memory queue