8000 Added support for unparseable sections. by gavbaa · Pull Request #72 · go-ini/ini · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added support for unparseable sections. #72

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

< 8000 /div>
Merged
merged 3 commits into from
Dec 21, 2016
Merged

Conversation

gavbaa
Copy link
Contributor
@gavbaa gavbaa commented Nov 26, 2016

There are public standards ( example: https://github.com/ADL-AICC/AICC-Document-Archive/releases/tag/cmi001v4 ) that are based around INI formats that allow for both standard key/value sections as well as sections that contain raw data that cannot be parsed. My attempt here is to provide a mechanism for leaving unparsed sections in their raw form, while otherwise meeting the INI parsing standards. It's off by default and can only be opted-into on a per-section basis by section name as part of the LoadOptions config. Tests included, and also cover the case-insensitive section names.

@unknwon
Copy link
Member
unknwon commented Dec 21, 2016

Thanks!

@unknwon unknwon merged commit 4b84ed0 into go-ini:master Dec 21, 2016
unknwon added a commit that referenced this pull request Dec 21, 2016
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.

2 participants
0