taldir

Directory service to resolve wallet mailboxes by messenger addresses
Log | Files | Refs | Submodules | README | LICENSE

README.md (1652B)


      1 # INI
      2 
      3 [![GitHub Workflow Status](https://img.shields.io/github/checks-status/go-ini/ini/main?logo=github&style=for-the-badge)](https://github.com/go-ini/ini/actions?query=branch%3Amain)
      4 [![GoDoc](https://img.shields.io/badge/GoDoc-Reference-blue?style=for-the-badge&logo=go)](https://pkg.go.dev/github.com/go-ini/ini?tab=doc)
      5 
      6 ![](https://avatars0.githubusercontent.com/u/10216035?v=3&s=200)
      7 
      8 Package ini provides INI file read and write functionality in Go.
      9 
     10 ## Features
     11 
     12 - Load from multiple data sources(file, `[]byte`, `io.Reader` and `io.ReadCloser`) with overwrites.
     13 - Read with recursion values.
     14 - Read with parent-child sections.
     15 - Read with auto-increment key names.
     16 - Read with multiple-line values.
     17 - Read with tons of helper methods.
     18 - Read and convert values to Go types.
     19 - Read and **WRITE** comments of sections and keys.
     20 - Manipulate sections, keys and comments with ease.
     21 - Keep sections and keys in order as you parse and save.
     22 
     23 ## Installation
     24 
     25 The minimum requirement of Go is **1.13**.
     26 
     27 ```sh
     28 $ go get gopkg.in/ini.v1@latest
     29 ```
     30 
     31 > [!NOTE]
     32 > 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`:
     33 > ```zsh
     34 > go mod edit -replace github.com/go-ini/ini=gopkg.in/ini.v1@latest
     35 > ```
     36 
     37 ## Getting Help
     38 
     39 - [Getting Started](https://ini.unknwon.io/docs/intro/getting_started)
     40 - [API Documentation](https://gowalker.org/gopkg.in/ini.v1)
     41 - 中国大陆镜像:https://ini.unknwon.cn
     42 
     43 ## License
     44 
     45 This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.