Registry / utility / ulule-deepcopier

ulule-deepcopier

JSON →
library0.0.0-20200430083143-45decc6639b6gogounverified

A Go library for deep copying structs.

go get github.com/ulule/deepcopier
INSTALL
IMPORT
SIG · ULULE-DEEPCOPIER
U
ulule-deepcopier
utilitygov0.0.0-20200430083143-45decc6639b6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

deepcopier
github.com/ulule/deepcopier

Deep copy a struct from source to destination.

package main import ( "fmt" "github.com/ulule/deepcopier" ) type Source struct { Name string } type Dest struct { Name string } func main() { src := Source{Name: "test"} dst := Dest{} deepcopier.Copy(&src).To(&dst) fmt.Println(dst.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200430083143-45decc6639b6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ulule-deepcopier — go get ulule-deepcopier · libregistry