Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 26-Oct-2017 | - | ||||
LICENSE | H A D | 26-Oct-2017 | 1.1 KiB | 22 | 17 | |
README.md | H A D | 26-Oct-2017 | 529 | 22 | 13 | |
copier_time.go | H A D | 26-Oct-2017 | 226 | 16 | 11 | |
copystructure.go | H A D | 26-Oct-2017 | 6.1 KiB | 280 | 190 |
README.md
1# copystructure 2 3copystructure is a Go library for deep copying values in Go. 4 5This allows you to copy Go values that may contain reference values 6such as maps, slices, or pointers, and copy their data as well instead 7of just their references. 8 9## Installation 10 11Standard `go get`: 12 13``` 14$ go get github.com/mitchellh/copystructure 15``` 16 17## Usage & Example 18 19For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/copystructure). 20 21The `Copy` function has examples associated with it there. 22