Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 25-Dec-2019 | - | |||
testdata/ | H | 03-May-2022 | - | |||
.gitignore | H A D | 25-Dec-2019 | 105 | |||
.travis.yml | H A D | 25-Dec-2019 | 410 | |||
LICENSE | H A D | 25-Dec-2019 | 10 KiB | |||
Makefile | H A D | 25-Dec-2019 | 245 | |||
README.md | H A D | 25-Dec-2019 | 1.3 KiB | |||
bench_test.go | H A D | 25-Dec-2019 | 2.6 KiB | |||
data_source.go | H A D | 25-Dec-2019 | 1.8 KiB | |||
deprecated.go | H A D | 25-Dec-2019 | 802 | |||
error.go | H A D | 25-Dec-2019 | 1.1 KiB | |||
file.go | H A D | 25-Dec-2019 | 10.1 KiB | |||
file_test.go | H A D | 25-Dec-2019 | 8.3 KiB | |||
helper.go | H A D | 25-Dec-2019 | 719 | |||
helper_test.go | H A D | 25-Dec-2019 | 872 | |||
ini.go | H A D | 25-Dec-2019 | 7 KiB | |||
ini_internal_test.go | H A D | 25-Dec-2019 | 781 | |||
ini_python_multiline_test.go | H A D | 25-Dec-2019 | 9.6 KiB | |||
ini_test.go | H A D | 25-Dec-2019 | 31.2 KiB | |||
key.go | H A D | 25-Dec-2019 | 22.6 KiB | |||
key_test.go | H A D | 25-Dec-2019 | 17.6 KiB | |||
parser.go | H A D | 25-Dec-2019 | 13.1 KiB | |||
parser_test.go | H A D | 25-Dec-2019 | 1.9 KiB | |||
section.go | H A D | 25-Dec-2019 | 5.7 KiB | |||
section_test.go | H A D | 25-Dec-2019 | 7.9 KiB | |||
struct.go | H A D | 25-Dec-2019 | 16.4 KiB | |||
struct_test.go | H A D | 25-Dec-2019 | 12.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