Documentation ¶
Overview ¶
Package copyx provides functionality to perform deep copies of complex data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepCopy ¶
func DeepCopy(dst, src interface{})
DeepCopy performs a deep copy from the source (src) to the destination (dst). It uses reflection to recursively copy all fields of the source object, ensuring that nested structures are also duplicated rather than simply referenced. dst and src must be pointers to the same type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.