Help us shape the future of Go! Take the 2026 Go Developer Survey

deepcopy

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy

func DeepCopy(val any) any

DeepCopy performs a recursive deep copy for nested slices/maps and returns the copied object. Supports []any and map[string]any only

func Map added in v0.38.0

func Map(val map[string]any) map[string]any

Types

This section is empty.

Jump to

Keyboard shortcuts

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