go/src/fmt/stringer_example_test.go

type Animal

// String makes Animal satisfy the Stringer interface.
func (a Animal) String() string {}

func ExampleStringer() {}