func (a *AnimalQueue) DequeueAny() animal.Animal {
	catTime := a.cat.Peek().Time
	dogTime := a.dog.Peek().Time
	fmt.Printf("%v, %v", catTime, dogTime)
	if catTime.Before(dogTime) {
		return a.cat.Dequeue()
	}
	return a.dog.Dequeue()
}
// DequeueAny dequeues the latest animal data

DequeueAny dequeues the latest animal data
// DequeueAny dequeues the latest animal data
func (a *AnimalQueue) DequeueAny() animal.Animal {
	catTime := a.cat.Peek().Time
	dogTime := a.dog.Peek().Time
	fmt.Printf("%v, %v", catTime, dogTime)
	if catTime.Before(dogTime) {
		return a.cat.Dequeue()
	}
	return a.dog.Dequeue()
}
func ( a * AnimalQueue ) DequeueAny ( ) animal . Animal { catTime := a . cat . Peek ( ) . Time dogTime := a . dog . Peek ( ) . Time fmt . Printf ( " " , catTime , dogTime ) if catTime . Before ( dogTime ) { return a . cat . Dequeue ( ) } return a . dog . Dequeue ( ) }
DequeueAny dequeues the latest animal data
DequeueAny dequeues the latest animal data