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