Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 29-Mar-2019 | - | ||||
.travis.yml | H A D | 29-Mar-2019 | 374 | 18 | 16 | |
LICENSE | H A D | 29-Mar-2019 | 10 KiB | 192 | 155 | |
Makefile | H A D | 29-Mar-2019 | 245 | 16 | 10 | |
README.md | H A D | 29-Mar-2019 | 1.3 KiB | 47 | 31 | |
error.go | H A D | 29-Mar-2019 | 883 | 33 | 14 | |
file.go | H A D | 29-Mar-2019 | 10.1 KiB | 419 | 308 | |
ini.go | H A D | 29-Mar-2019 | 7.5 KiB | 220 | 121 | |
key.go | H A D | 29-Mar-2019 | 21.2 KiB | 753 | 529 | |
parser.go | H A D | 29-Mar-2019 | 11.4 KiB | 489 | 381 | |
section.go | H A D | 29-Mar-2019 | 5.8 KiB | 260 | 191 | |
struct.go | H A D | 29-Mar-2019 | 13.9 KiB | 513 | 407 |
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