Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFriendNames ¶
func ExtractFriendNames(persons []InputPerson) []string
Types ¶
type Converter ¶
type Converter interface {
Convert(source []InputPerson) []OutputPerson
}
goverter:converter goverter:extend ExtractFriendNames
type InputPerson ¶
type InputPerson struct { Name string Friends []InputPerson }
type OutputPerson ¶
Click to show internal directories.
Click to hide internal directories.