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

Support CommentToMap option #253

Merged
merged 1 commit into from Sep 7, 2021
Merged

Conversation

goccy
Copy link
Owner

@goccy goccy commented Sep 7, 2021

The yaml.CommentToMap option is a companion option to yaml.WithComment .
By using this option record the comment information in the YAML to the CommentMap and use that information as it is in yaml.WithComment, it is possible to perform reversible conversion of YAML with comments.

@codecov-commenter
Copy link

Codecov Report

Merging #253 (b034e1c) into master (e9d5e8f) will increase coverage by 0.04%.
The diff coverage is 82.35%.

@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage   76.27%   76.32%   +0.04%     
==========================================
  Files          12       12              
  Lines        4161     4194      +33     
==========================================
+ Hits         3174     3201      +27     
- Misses        755      759       +4     
- Partials      232      234       +2     

@goccy goccy merged commit 82ab4c7 into master Sep 7, 2021
@goccy goccy deleted the feature/support-decode-comment branch September 7, 2021 11:49
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.

None yet

2 participants