Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 848 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 848 Bytes

deepCopy

forked from smallnest/deepcopy

License GoDoc build status Go Report Card

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

  • Support Embed type
  • Support Pointer deep copy
  • Support Map
  • Support Slice
  • Support Interface
  • Support Channel;

Forked from mohae/deepcopy and add generic support.

Usage

   cpy := deepcopy.Copy[T](orig)