go/src/fmt/gostringer_example_test.go

type Address

type Person

// GoString makes Person satisfy the GoStringer interface.
// The return value is valid Go code that can be used to reproduce the Person struct.
func (p Person) GoString() string {}

func ExampleGoStringer() {}