copystructure

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

  • Owner: mitchellh/copystructure
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownermitchellh/copystructure
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2014-06-12 21:22:32
Pushed At2021-05-05 17:08:29
Last Commit At2021-05-05 10:08:07
Release Count5
Last Release Namev1.2.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count348
Watchers Count8
Fork Count32
Commits Count85
Has Issues Enabled
Issues Count14
Issue Open Count2
Pull Requests Count21
Pull Requests Open Count0
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private