copyx

package
v1.0.4-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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