Package ini provides INI file read and write functionality in Go.
- Import Path: gopkg.in/ini.v1
- GitHub: https://github.com/go-ini/ini
It is the most fully featured INI kvs and comments reader/writer so far.
Features includings:
- Load multiple data sources(
[]byte
or file) with overwrites. - Read with recursion values.
- Read with parent-child sections.
- Read with auto-increment key names.
- Read with multiple-line values.
- Read with tons of helper methods.
- Read and convert values to Go types.
- Read and WRITE comments of sections and keys.
- Manipulate sections, keys and comments with ease.
- Keep sections and keys in order as you parse and save.
Feedback welcome!