+
Skip to content

ltick/go-ini

Repository files navigation

INI Build Status Sourcegraph

Package go-ini provides INI file read and write functionality in Go.

简体中文

Feature

  • Load multiple data sources([]byte, file and io.ReadCloser) with overwrites.
  • Convenient usage of unmarshal like json.Unmarshal and yaml.Unmarshal.
  • Support section to classify key-value items.
  • Support extend to inherit key-value items from previous section.
  • Read with recursion values.
  • Read and auto-convert values to Go types.
  • Manipulate sections, keys and comments with ease.
  • Read and WRITE comments of sections and keys.
  • Read with multiple-line values.

Installation

To use with latest changes:

go get github.com/ltick/go-ini

Please add -u flag to update in the future.

Getting Started

Loading from data sources

About

ini config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载