Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 09-Nov-2019 | - | 9 | 5 | |
testdata/ | H | 03-May-2022 | - | 213 | 174 | |
.gitignore | H A D | 09-Nov-2019 | 105 | 7 | 6 | |
.travis.yml | H A D | 09-Nov-2019 | 410 | 21 | 19 | |
LICENSE | H A D | 09-Nov-2019 | 10 KiB | 192 | 155 | |
Makefile | H A D | 09-Nov-2019 | 245 | 16 | 10 | |
README.md | H A D | 09-Nov-2019 | 1.3 KiB | 40 | 26 | |
bench_test.go | H A D | 09-Nov-2019 | 2.6 KiB | 119 | 89 | |
data_source.go | H A D | 09-Nov-2019 | 1.8 KiB | 75 | 46 | |
deprecated.go | H A D | 09-Nov-2019 | 802 | 26 | 7 | |
error.go | H A D | 09-Nov-2019 | 1.1 KiB | 35 | 14 | |
file.go | H A D | 09-Nov-2019 | 10.1 KiB | 419 | 308 | |
file_test.go | H A D | 09-Nov-2019 | 8.3 KiB | 327 | 249 | |
helper.go | H A D | 09-Nov-2019 | 719 | 25 | 9 | |
helper_test.go | H A D | 09-Nov-2019 | 872 | 30 | 12 | |
ini.go | H A D | 09-Nov-2019 | 7 KiB | 167 | 78 | |
ini_internal_test.go | H A D | 09-Nov-2019 | 781 | 28 | 10 | |
ini_python_multiline_test.go | H A D | 09-Nov-2019 | 9.6 KiB | 66 | 43 | |
ini_test.go | H A D | 09-Nov-2019 | 31.2 KiB | 1,311 | 374 | |
key.go | H A D | 09-Nov-2019 | 22.6 KiB | 802 | 564 | |
key_test.go | H A D | 09-Nov-2019 | 17.6 KiB | 570 | 454 | |
parser.go | H A D | 09-Nov-2019 | 13.1 KiB | 527 | 409 | |
parser_test.go | H A D | 09-Nov-2019 | 1.9 KiB | 78 | 49 | |
section.go | H A D | 09-Nov-2019 | 5.7 KiB | 257 | 190 | |
section_test.go | H A D | 09-Nov-2019 | 7.9 KiB | 316 | 249 | |
struct.go | H A D | 09-Nov-2019 | 16.3 KiB | 604 | 494 | |
struct_test.go | H A D | 09-Nov-2019 | 12.2 KiB | 493 | 409 |
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