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

deepcopy

package
v1.151.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupported = errors.New("unsupported configuration value")
	ErrCycle       = errors.New("cyclic configuration value")
	ErrLimit       = errors.New("configuration copy limit exceeded")
)

Functions

func Value

func Value[T any](source T) (T, error)

Value isolates mutable values, preserving scalar types and duplicating shared references.

Types

This section is empty.

Jump to

Keyboard shortcuts

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