mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-14 23:17:15 +00:00
961c878e0d
Switch to using Go modules. This migrates our vendor.json to use Go 1.11's modules system, and replaces the vendor folder with the output of go mod vendor. The vendored code should remain basically the same; I believe some tree shaking of packages and support scripts/licenses/READMEs/etc. happened. This also fixes Travis and our Makefile to no longer use govendor. |
||
---|---|---|
.. | ||
.travis.yml | ||
copier_time.go | ||
copystructure.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
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.