/deepcopy

Deep copy things

Primary LanguageGoMIT LicenseMIT

deepCopy

GoDocBuild Status

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

Usage

cpy := deepcopy.Copy(orig)