Registry / utility / aacfactory-copier

aacfactory-copier

JSON →
library1.4.0gogounverified

A Go library for copying data between structs with support for custom mappings.

go get github.com/aacfactory/copier
INSTALL
IMPORT
SIG · AACFACTORY-COPIER
A
aacfactory-copier
utilitygov1.4.0
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.

copier
github.com/aacfactory/copier

Copy fields from one struct to another

package main import ( "fmt" "github.com/aacfactory/copier" ) type Src struct{ Name string } type Dst struct{ Name string } func main() { src := Src{Name: "Alice"} var dst Dst copier.Copy(&dst, &src) fmt.Println(dst.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
42
OpenAI (training)
1
Resources
aacfactory-copier — go get aacfactory-copier · libregistry