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).
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).