Skip to content

Match Wrap container to comparable New container#142

Open
rflandau wants to merge 2 commits intoJeffail:masterfrom
rflandau:master
Open

Match Wrap container to comparable New container#142
rflandau wants to merge 2 commits intoJeffail:masterfrom
rflandau:master

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