9 lignes
347 o
Markdown
9 lignes
347 o
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)
|