Skip to content

Commit

Permalink
Support copying embedded structs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendc committed Sep 22, 2024
1 parent fca8bc7 commit 498f9aa
Show file tree
Hide file tree
Showing 5 changed files with 560 additions and 175 deletions.
2 changes: 2 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ var (
// ErrFieldRequireCopying returned when a field is required to be copied
// but no copying is done for it.
ErrFieldRequireCopying = errors.New("ErrFieldRequireCopying")
// ErrMethodInvalid returned when copying method of a struct is not valid
ErrMethodInvalid = errors.New("ErrMethodInvalid")
)
Loading

0 comments on commit 498f9aa

Please sign in to comment.