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

encoder: add back the commented option #893

Merged
merged 1 commit into from
Aug 28, 2023
Merged

encoder: add back the commented option #893

merged 1 commit into from
Aug 28, 2023

Conversation

pelletier
Copy link
Owner

This patch adds back the commented field option from go-toml v1. I initially cut it from scope stating that it should belong in a full-fledge document model, but I've decided to bring it back to support the use case of generating configuration files with commented out sections.

As with the other field tags, it is merged as an option in the toml tag (see updated README.md).

@pelletier pelletier added the feature Issue asking for a new feature in go-toml. label Aug 28, 2023
@pelletier pelletier merged commit 9dd7f1a into v2 Aug 28, 2023
9 checks passed
@pelletier pelletier deleted the commented branch August 28, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue asking for a new feature in go-toml.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant