Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.travis.yml | H A D | 24-Aug-2018 | 108 | 13 | 9 | |
LICENSE | H A D | 24-Aug-2018 | 1.1 KiB | 22 | 17 | |
README.md | H A D | 24-Aug-2018 | 529 | 22 | 13 | |
copier_time.go | H A D | 24-Aug-2018 | 226 | 16 | 11 | |
copier_time_test.go | H A D | 24-Aug-2018 | 266 | 18 | 15 | |
copystructure.go | H A D | 24-Aug-2018 | 12.8 KiB | 549 | 362 | |
copystructure_examples_test.go | H A D | 24-Aug-2018 | 357 | 23 | 16 | |
copystructure_test.go | H A D | 24-Aug-2018 | 17 KiB | 1,084 | 835 | |
go.mod | H A D | 24-Aug-2018 | 91 | 4 | 2 | |
go.sum | H A D | 24-Aug-2018 | 183 | 3 | 2 |
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