mapping

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneMapToStruct

func CloneMapToStruct(input any, output interface{}) error

func DeepCopy

func DeepCopy[T, K any](destStruct T, srcStruct K, opts ...CopyOption) T

Types

type CopyOption

type CopyOption func(*copier.Option)

CopyOption 定义复制选项的函数类型

func CopyWithIgnoreEmpty

func CopyWithIgnoreEmpty(ignoreEmpty bool) CopyOption

CopyWithIgnoreEmpty 设置是否忽略空值

Jump to

Keyboard shortcuts

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