cp

package
v0.0.0-...-3839eb7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TyperConverter = []copier.TypeConverter{}
	FiledMapping   = []copier.FieldNameMapping{}
)

for some small structs, you should not use this package because it will waste the performance and introduced new errors

Functions

func Copy

func Copy(src, dst any) error

Copy copy the value, if it has pointer, only copy the referenced address

func DeepCopy

func DeepCopy(src, dst any) error

DeepCopy copy the reference of the value if it exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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