Package gopkg.in/ini.v1

Package ini provides INI file read and write functionality in Go.

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!

6 Likes

@matt Gopkg.ini/ini.1 looks inconsistent so I changed a bit.

it’s gopkg.in, not gopkg.ini fyi :stuck_out_tongue:

Thanks! Fixed that :sweat_smile:

An update for GitHub pages http://go-ini.github.io/ini/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.