]>
Commit | Line | Data |
---|---|---|
bae9f6d2 JC |
1 | # copystructure\r |
2 | \r | |
3 | copystructure is a Go library for deep copying values in Go.\r | |
4 | \r | |
5 | This allows you to copy Go values that may contain reference values\r | |
6 | such as maps, slices, or pointers, and copy their data as well instead\r | |
7 | of just their references.\r | |
8 | \r | |
9 | ## Installation\r | |
10 | \r | |
11 | Standard `go get`:\r | |
12 | \r | |
13 | ```\r | |
14 | $ go get github.com/mitchellh/copystructure\r | |
15 | ```\r | |
16 | \r | |
17 | ## Usage & Example\r | |
18 | \r | |
19 | For usage and examples see the [Godoc](http://godoc.org/github.com/mitchellh/copystructure).\r | |
20 | \r | |
21 | The `Copy` function has examples associated with it there.\r |