mapper

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapOne

func MapOne[S any, D any](source S) (D, error)

func MapSlice

func MapSlice[S any, D any](source []S) ([]D, error)

func MapStruct

func MapStruct(source any, destination any) error

func MapStructList

func MapStructList[S any, D any](source []S, destination *[]D) (err error)

MapStructList maps a list of source structs to a list of destination structs

Types

This section is empty.

Jump to

Keyboard shortcuts

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