File: README.md

package info (click to toggle)
golang-github-mohae-deepcopy 0.0~git20170929.c48cc78-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 112 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
deepCopy
========
[![GoDoc](https://godoc.org/github.com/mohae/deepcopy?status.svg)](https://godoc.org/github.com/mohae/deepcopy)[![Build Status](https://travis-ci.org/mohae/deepcopy.png)](https://travis-ci.org/mohae/deepcopy)

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

## Usage
    cpy := deepcopy.Copy(orig)