example

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 0 Imported by: 0

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

type OutputPerson struct {
	Name    string
	Friends []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL