/ini

Ini is a Go package for for parsing ini (or cfg) files.

Primary LanguageGoMIT LicenseMIT

Ini

GoDoc Build Status Coverage Status Go Report Card MIT licensed

Ini is a Go package for for parsing ini (or cfg) files. See Godoc for the API.

Stable

The api is now stable and will remain stable until version 2 is released. To prove how stable ini.Parse is, it battled go-fuzz for 10 hours, processing over 1.1 billion randomized inputs and won:

2015/07/21 23:58:54 slaves: 8, corpus: 611 (3h8m ago), crashers: 0, restarts: 1/
10000, execs: 1100121441 (30462/sec), cover: 493, uptime: 10h1m

Installation

Run the following line to install.

$ go get github.com/Thomasdezeeuw/ini

Examples

See the _examples directory for a multiple examples.

License

Licensed under the MIT license, copyright (C) Thomas de Zeeuw. See LICENSE for more information.