• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H25-Dec-2019-

testdata/H03-May-2022-

.gitignoreH A D25-Dec-2019105

.travis.ymlH A D25-Dec-2019410

LICENSEH A D25-Dec-201910 KiB

MakefileH A D25-Dec-2019245

README.mdH A D25-Dec-20191.3 KiB

bench_test.goH A D25-Dec-20192.6 KiB

data_source.goH A D25-Dec-20191.8 KiB

deprecated.goH A D25-Dec-2019802

error.goH A D25-Dec-20191.1 KiB

file.goH A D25-Dec-201910.1 KiB

file_test.goH A D25-Dec-20198.3 KiB

helper.goH A D25-Dec-2019719

helper_test.goH A D25-Dec-2019872

ini.goH A D25-Dec-20197 KiB

ini_internal_test.goH A D25-Dec-2019781

ini_python_multiline_test.goH A D25-Dec-20199.6 KiB

ini_test.goH A D25-Dec-201931.2 KiB

key.goH A D25-Dec-201922.6 KiB

key_test.goH A D25-Dec-201917.6 KiB

parser.goH A D25-Dec-201913.1 KiB

parser_test.goH A D25-Dec-20191.9 KiB

section.goH A D25-Dec-20195.7 KiB

section_test.goH A D25-Dec-20197.9 KiB

struct.goH A D25-Dec-201916.4 KiB

struct_test.goH A D25-Dec-201912.4 KiB

README.md

1# INI
2
3[![Build Status](https://img.shields.io/travis/go-ini/ini/master.svg?style=for-the-badge&logo=travis)](https://travis-ci.org/go-ini/ini) [![Sourcegraph](https://img.shields.io/badge/view%20on-Sourcegraph-brightgreen.svg?style=for-the-badge&logo=sourcegraph)](https://sourcegraph.com/github.com/go-ini/ini)
4
5![](https://avatars0.githubusercontent.com/u/10216035?v=3&s=200)
6
7Package ini provides INI file read and write functionality in Go.
8
9## Features
10
11- Load from multiple data sources(`[]byte`, file and `io.ReadCloser`) with overwrites.
12- Read with recursion values.
13- Read with parent-child sections.
14- Read with auto-increment key names.
15- Read with multiple-line values.
16- Read with tons of helper methods.
17- Read and convert values to Go types.
18- Read and **WRITE** comments of sections and keys.
19- Manipulate sections, keys and comments with ease.
20- Keep sections and keys in order as you parse and save.
21
22## Installation
23
24The minimum requirement of Go is **1.6**.
25
26```sh
27$ go get gopkg.in/ini.v1
28```
29
30Please add `-u` flag to update in the future.
31
32## Getting Help
33
34- [Getting Started](https://ini.unknwon.io/docs/intro/getting_started)
35- [API Documentation](https://gowalker.org/gopkg.in/ini.v1)
36
37## License
38
39This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.
40