forked from golang/hotime
9 lines
347 B
Markdown
9 lines
347 B
Markdown
deepCopy
|
|
========
|
|
[![GoDoc](https://godoc.org/github.com/mohae/deepcopy?status.svg)](https://godoc.org/github.com/mohae/deepcopy)[![Build Status](https://travis-ci.org/mohae/deepcopy.png)](https://travis-ci.org/mohae/deepcopy)
|
|
|
|
DeepCopy makes deep copies of things: unexported field values are not copied.
|
|
|
|
## Usage
|
|
cpy := deepcopy.Copy(orig)
|