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

fix issue#216 #336

Merged
merged 1 commit into from
Mar 17, 2020
Merged

fix issue#216 #336

merged 1 commit into from
Mar 17, 2020

Conversation

AllenX2018
Copy link
Contributor

Issue: #216
This pr fix #216. If a non-primitive(like struct, map) is commented, all of its sub kv pairs should be commented out too. Besides, I notice that If a multiline string or multiline array is commented, go-toml just commented out the first line. This pr also fix that.

@AllenX2018
Copy link
Contributor Author

@pelletier Any thoughts?

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.

Sorry it took me a while to get to this PR. Looks good to me! Thank you for the patch and also for fixing the multi-line commenting along the way. :)

@pelletier pelletier merged commit a12e102 into pelletier:master Mar 17, 2020
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.

commented:"true" doesn't work for non-primitive types
2 participants