/deepcopy

Deep copying for Go

Primary LanguageGoApache License 2.0Apache-2.0

deepcopy Travis CI Status Coverage Status GoDoc

deepcopy provides a basic implementation of deep copying using json.Marshal and json.Unmarshal. Hence it is not very performant, and it only works for exported fields.

See gopkg.in for usage and docs.