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

Allow to marshal pointer to struct and map #247

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

asenyshyn
Copy link
Contributor

Have nothing much to add here. I need to be able to marshal pointer to struct or map, thus I extended validation in Encoder marshal method. As far as I can see further call of valueToTree supports both pointer and map.

@codecov
Copy link

codecov bot commented Oct 23, 2018

Codecov Report

Merging #247 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   89.11%   89.14%   +0.03%     
==========================================
  Files           9        9              
  Lines        1663     1668       +5     
==========================================
+ Hits         1482     1487       +5     
  Misses        129      129              
  Partials       52       52
Impacted Files Coverage Δ
marshal.go 89.11% <100%> (+0.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81a861c...f26cbd8. Read the comment docs.

Copy link
Owner

@pelletier pelletier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn sorry I let that one fall through the cracks. Thank you very much!

@pelletier pelletier merged commit 19cbd22 into pelletier:master Nov 19, 2018
@asenyshyn
Copy link
Contributor Author

No problem, thank you for review.

@asenyshyn asenyshyn deleted the marshal-pointer-to-struct branch December 3, 2018 17:52
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.

3 participants