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

..03-May-2022-

.github/H31-Jan-2020-4934

testdata/H03-May-2022-213174

.gitignoreH A D31-Jan-2020105 76

.travis.ymlH A D31-Jan-2020410 2119

LICENSEH A D31-Jan-202010 KiB192155

MakefileH A D31-Jan-2020245 1610

README.mdH A D31-Jan-20201.3 KiB4026

bench_test.goH A D31-Jan-20202.6 KiB11989

data_source.goH A D31-Jan-20201.8 KiB7546

deprecated.goH A D31-Jan-2020802 267

error.goH A D31-Jan-20201.1 KiB3514

file.goH A D31-Jan-202010.1 KiB419308

file_test.goH A D31-Jan-20208.3 KiB327249

helper.goH A D31-Jan-2020719 259

helper_test.goH A D31-Jan-2020872 3012

ini.goH A D31-Jan-20207 KiB16778

ini_internal_test.goH A D31-Jan-2020781 2810

ini_python_multiline_test.goH A D31-Jan-20209.6 KiB6643

ini_test.goH A D31-Jan-202031.2 KiB1,311374

key.goH A D31-Jan-202022.6 KiB802564

key_test.goH A D31-Jan-202017.6 KiB570454

parser.goH A D31-Jan-202013.1 KiB527409

parser_test.goH A D31-Jan-20201.9 KiB7849

section.goH A D31-Jan-20205.7 KiB257190

section_test.goH A D31-Jan-20207.9 KiB316249

struct.goH A D31-Jan-202016.6 KiB616505

struct_test.goH A D31-Jan-202013.3 KiB550454

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