deepcopy icon indicating copy to clipboard operation
deepcopy copied to clipboard

Deep copy things

deepCopy

GoDocBuild Status

DeepCopy makes deep copies of things: unexported field values are not copied.

Usage

cpy := deepcopy.Copy(orig)