deepcopier icon indicating copy to clipboard operation
deepcopier copied to clipboard

simple struct copying for golang

Results 7 deepcopier issues
Sort by recently updated
recently updated
newest added

So far, I'm benefiting a lot from this package, so thank you for the excellent work so far. I mentioned this in #26 but this seems to merit its own...

Is there a way to copy only the not null fields? Example: ```go package main import ( "fmt" "github.com/ulule/deepcopier" ) type Player struct { Firstname string Username *string UserDetail *UserDetail...

#### Add Include and Exclude methods with args passed instantly for except from tags. #### Include and Exclude with fields, with higher priority over tags. ` deepcopier.Copy(user).Include({"xxx", "yyy"}).Exclude("vvvv", "dddd").To(resource) `

I have 2 structs (of different types), each of these structs have embedded structs. The embedded structs have the same property name, however, are different types. My assumption is that...

Have you seen these benchmarks here? https://github.com/gotidy/copy#benchmark What do you think about it? Can we improve by taking a cue from there? The difference is very high. Thanks for your...

#### code ```go type MenuSrc struct { Name string Code *string ID uint64 } type MenuDst struct { Name *string Code *string ID uint64 } func TestCopy(t *testing.T) { var...

According to https://github.com/satori/go.uuid/issues/73 and it is no longer recommended by https://github.com/avelino/awesome-go#uuid. Could you switch to https://github.com/gofrs/uuid instead?