Documentation
¶
Overview ¶
Package clone deep-copies values of unknown, reflection-only types — notably registry.Configuration, whose concrete type is defined by whichever plugin registered it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Any ¶
Any returns a deep copy of value: pointers, interfaces, slices, maps, and arrays are copied recursively so the result shares no mutable state with value. Unexported struct fields are left at their zero value, since reflect cannot set them without unsafe tricks. Channels, funcs, and other kinds with no meaningful copy are returned as-is.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.