deepcopy
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.
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.