mapper

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map(src, dst interface{}) (err error)

func MapArray

func MapArray[S, D any](src []S, dst []D) (err error)

func MapArrayOption

func MapArrayOption[S, D any](src []S, dst []D, option *converter.StructOption) (err error)

func MapArrayOptionRender

func MapArrayOptionRender[S, D any](src []S, dst []D, option *converter.StructOption, render func(interface{}, interface{})) (err error)

func MapArrayRender

func MapArrayRender[S, D any](src []S, dst []D, render func(interface{}, interface{})) (err error)

func MapOption

func MapOption(src, dst interface{}, option *converter.StructOption) (err error)

func MapOptionRender

func MapOptionRender(src, dst interface{}, option *converter.StructOption, render func(interface{}, interface{})) (err error)

func MapRender

func MapRender(src, dst interface{}, render func(interface{}, interface{})) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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