Skip to content

Conversation

@relistan
Copy link

In many cases it may be undesirable to copy unexported fields. This PR introduces the ability to disable copying these fields, as an option on the Copier rather than on the fields. This enables a generalized behavior that does not require modifications to struct tags on packages you don't own, in order to copy them without perhaps overriding private values.

@relistan
Copy link
Author

Still would love to upstream this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant