github.com/mohae/deepcopy

Deep copy things


Keywords
deepcopy, go
License
MIT
Install
go get github.com/mohae/deepcopy

Documentation

deepCopy

GoDocBuild Status

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

Usage

cpy := deepcopy.Copy(orig)