terraform-provider-docker/vendor/github.com/mitchellh/copystructure
2019-03-11 18:19:31 -04:00
..
.travis.yml deps: use go modules for dep mgmt 2019-03-11 18:19:30 -04:00
copier_time.go Initial transfer of provider code 2017-06-06 11:50:36 -04:00
copystructure.go deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules 2019-03-11 18:19:31 -04:00
LICENSE Initial transfer of provider code 2017-06-06 11:50:36 -04:00
README.md Initial transfer of provider code 2017-06-06 11:50:36 -04:00

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.