Files
cloudpods/vendor/github.com/mitchellh/copystructure
Jian Qiu 26089ffde0 fix: make condition eval compatible with go 1.18 (#14534)
* fix: make condition eval compatible with go 1.18

* fix: update circle-ci image to yunion/centos-build:go-1.18.3-0

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:29:56 +08:00
..
2021-02-18 11:21:25 +08:00
2021-02-18 11:21:25 +08:00
2021-02-18 11:21:25 +08:00
2021-02-18 11:21:25 +08:00
2021-02-18 11:21:25 +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.