Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match Wrap container to comparable New container #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rflandau
Copy link

@rflandau rflandau commented Jun 6, 2024

#141

This change encapsulates data given to .Wrap() in a map[string]interface{}, similar to the structure a container created by .New().
Marshalling and unmarshalling is probably not the most efficient way to do this and there may be some value in adding type assertions via reflection, but I am not one to bring the baggage of reflect to someone else's project.

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