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

This section is empty.

Types

type Address

type Address struct {
	Street  string
	ZipCode string
}

type Converter

type Converter interface {
	// goverter:map . Address
	Convert(FlatPerson) Person
}

goverter:converter

type FlatPerson

type FlatPerson struct {
	Name    string
	Age     int
	Street  string
	ZipCode string
}

type Person

type Person struct {
	Name    string
	Age     int
	Address Address
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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