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

205 Stars 25 Forks MIT License 72 Commits 4 Opened issues


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

Services available


Need anything else?

Contributors list

No Data


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.



go get
$ go get

Usage & Example

For usage and examples see the Godoc.


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.