terraform/vendor/github.com/mitchellh/copystructure
James Bardin a86aa0f22d Update reflectwalk and copystructure
Bug fix and improvements
2016-10-03 14:30:48 -04:00
..
LICENSE Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
README.md Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
copier_time.go Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
copystructure.go Update reflectwalk and copystructure 2016-10-03 14:30:48 -04:00

README.md

copystructure

copystructure is a Go library for deep copying values in Go.

This allows you to copy Go values that may contain reference values such as maps, slices, or pointers, and copy their data as well instead of just their references.

Installation

Standard go get:

$ go get github.com/mitchellh/copystructure

Usage & Example

For usage and examples see the Godoc.

The Copy function has examples associated with it there.