Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.travis.yml | H A D | 24-Aug-2018 | 108 | |||
LICENSE | H A D | 24-Aug-2018 | 1.1 KiB | |||
README.md | H A D | 24-Aug-2018 | 529 | |||
copier_time.go | H A D | 24-Aug-2018 | 226 | |||
copier_time_test.go | H A D | 24-Aug-2018 | 266 | |||
copystructure.go | H A D | 24-Aug-2018 | 12.8 KiB | |||
copystructure_examples_test.go | H A D | 24-Aug-2018 | 357 | |||
copystructure_test.go | H A D | 24-Aug-2018 | 17 KiB | |||
go.mod | H A D | 24-Aug-2018 | 91 | |||
go.sum | H A D | 24-Aug-2018 | 183 |
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