/deepcopy-v2

Deep copy things with generics

Primary LanguageGoMIT LicenseMIT

deepCopy

GoDocBuild Status

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

Import

go get -u github.com/black-06/deepcopy-v2

Usage

cpy := deepcopy.Copy(orig)

Features