README.md (1366B)
1 # INI 2 3 [](https://pkg.go.dev/github.com/go-ini/ini?tab=doc) 4 5  6 7 Package ini provides INI file read and write functionality in Go. 8 9 ## Features 10 11 - Load from multiple data sources(file, `[]byte`, `io.Reader` 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 24 The minimum requirement of Go is **1.13**. 25 26 ```sh 27 $ go get gopkg.in/ini.v1@latest 28 ``` 29 30 > [!NOTE] 31 > If you previously used `github.com/go-ini/ini` as the import path in your project, without updating all of your code, you can use the following command to replace the import path in your `go.mod`: 32 > ```zsh 33 > go mod edit -replace github.com/go-ini/ini=gopkg.in/ini.v1@latest 34 > ``` 35 36 ## Getting Help 37 38 - [Getting Started](https://ini.unknwon.io/docs/intro/getting_started) 39 40 ## License 41 42 This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.