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

..03-May-2022-

.github/H17-Feb-2019-95

testdata/H03-May-2022-177154

.gitignoreH A D17-Feb-2019105 76

.travis.ymlH A D17-Feb-2019374 1816

LICENSEH A D17-Feb-201910 KiB192155

MakefileH A D17-Feb-2019245 1610

README.mdH A D17-Feb-20191.3 KiB4731

bench_test.goH A D17-Feb-20192.6 KiB11989

error.goH A D17-Feb-2019883 3314

file.goH A D17-Feb-201910.1 KiB419308

file_test.goH A D17-Feb-20197.9 KiB308234

ini.goH A D17-Feb-20197.5 KiB220121

ini_internal_test.goH A D17-Feb-2019987 3617

ini_test.goH A D17-Feb-201930.7 KiB1,283364

key.goH A D17-Feb-201921.2 KiB753529

key_test.goH A D17-Feb-201916.8 KiB534427

parser.goH A D17-Feb-201911.4 KiB489381

parser_test.goH A D17-Feb-20191.9 KiB7849

section.goH A D17-Feb-20195.8 KiB260191

section_test.goH A D17-Feb-20197.9 KiB316249

struct.goH A D17-Feb-201913.9 KiB513407

struct_test.goH A D17-Feb-20199.2 KiB388316

README.md

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