Categorygithub.com/mohae/deepcopy
modulepackage
0.0.0-20170929034955-c48cc78d4826
Repository: https://github.com/mohae/deepcopy.git
Documentation: pkg.go.dev

# README

deepCopy

GoDocBuild Status

DeepCopy makes deep copies of things: unexported field values are not copied.

Usage

cpy := deepcopy.Copy(orig)

# Functions

Copy creates a deep copy of whatever is passed to it and returns the copy in an interface{}.
Iface is an alias to Copy; this exists for backwards compatibility reasons.

# Interfaces

Interface for delegating copy process to type.