Registry / utility / admpub-copier

admpub-copier

JSON →
library0.1.1gogounverified

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

go get github.com/admpub/copier
INSTALL
IMPORT
SIG · ADMPUB-COPIER
A
admpub-copier
utilitygov0.1.1
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/admpub/copier

Copies fields from src to dst struct.

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

No known issues recorded.

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

No dependency data recorded yet.

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