Need help with copystructure?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mitchellh
205 Stars 25 Forks MIT License 72 Commits 4 Opened issues

Description

Go (golang) library for deep copying values in Go.

Services available

!
?

Need anything else?

Contributors list

No Data

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.