1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-06 03:56:15 +00:00
rke/vendor/github.com/mitchellh/copystructure
2019-11-14 10:54:00 -08:00
..
.travis.yml go mod and vendor changes 2019-11-14 10:54:00 -08:00
copier_time.go go mod and vendor changes 2019-11-14 10:54:00 -08:00
copystructure.go go mod and vendor changes 2019-11-14 10:54:00 -08:00
go.mod go mod and vendor changes 2019-11-14 10:54:00 -08:00
go.sum go mod and vendor changes 2019-11-14 10:54:00 -08:00
LICENSE go mod and vendor changes 2019-11-14 10:54:00 -08:00
README.md go mod and vendor changes 2019-11-14 10:54:00 -08: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.