You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3 kB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # INI
  2. [![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)
  3. ![](https://avatars0.githubusercontent.com/u/10216035?v=3&s=200)
  4. Package ini provides INI file read and write functionality in Go.
  5. ## Features
  6. - Load from multiple data sources(`[]byte`, file and `io.ReadCloser`) with overwrites.
  7. - Read with recursion values.
  8. - Read with parent-child sections.
  9. - Read with auto-increment key names.
  10. - Read with multiple-line values.
  11. - Read with tons of helper methods.
  12. - Read and convert values to Go types.
  13. - Read and **WRITE** comments of sections and keys.
  14. - Manipulate sections, keys and comments with ease.
  15. - Keep sections and keys in order as you parse and save.
  16. ## Installation
  17. The minimum requirement of Go is **1.6**.
  18. ```sh
  19. $ go get gopkg.in/ini.v1
  20. ```
  21. Please add `-u` flag to update in the future.
  22. ## Getting Help
  23. - [Getting Started](https://ini.unknwon.io/docs/intro/getting_started)
  24. - [API Documentation](https://gowalker.org/gopkg.in/ini.v1)
  25. ## License
  26. This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.