Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimalShelter ¶
type AnimalShelter interface {
Enqueue(a interface{})
DequeueAny() interface{}
DequeueDog() *Dog
DequeueCat() *Cat
}
AnimalShelter can enqueue and dequeue arbitrary pets. It can also dequeue a Dog or a Cat specifically.
Click to show internal directories.
Click to hide internal directories.