Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animal ¶
type Animal interface {
Move() // any type that implements an area method is considered an Animal
}
type BirdAdapter ¶
type BirdAdapter struct {
*Bird
}
func (*BirdAdapter) Move ¶
func (this *BirdAdapter) Move()
type ClownFishAdapter ¶
type ClownFishAdapter struct {
*ClownFish
}
func (*ClownFishAdapter) Move ¶
func (this *ClownFishAdapter) Move()
type MultiAnimal ¶
type MultiAnimal struct {
// contains filtered or unexported fields
}
func (*MultiAnimal) Move ¶
func (m *MultiAnimal) Move()
type SharkAdapter ¶
type SharkAdapter struct {
*Shark
}
func (*SharkAdapter) Move ¶
func (this *SharkAdapter) Move()
Click to show internal directories.
Click to hide internal directories.