14 lines
172 B
Go
14 lines
172 B
Go
package pasture
|
|
|
|
type Sheep struct {
|
|
lines string
|
|
}
|
|
|
|
func (s *Sheep) Sound() string {
|
|
return s.lines
|
|
}
|
|
|
|
func NewSheep(line string) *Sheep {
|
|
return &Sheep{lines: line}
|
|
}
|