Awesome Go language INI file operation

Source: Internet
Author: User
Flexible data sources

Not only the light can be read from the file configuration, but also supports the []byte type of pure data read and based io.ReadCloser streaming reading.

Multiple formats Compatible

Broad support for a variety of file types, including but not limited my.cnf .gitconfig to, even unresolved partitions.

Natural type Enhancement

Automatically converts the value to the specified Go language native type, allowing the code to focus more on logical processing rather than the pit-father type conversion.

struct-Body mapping

Mapping the configuration file to a user-defined struct{} structure, you can also reverse-map from the struct to the corresponding configuration file after you complete the operation.

Super-Divine Assistance

Automatic type conversions, candidate limits, fast slice generation, and instant data validation are much more than you might think!

Highly customizable

A variety of configuration loading policies, custom data validation rules, key names and key-value mappers, and so on, don't hurry up?

Address: https://ini.unknwon.io/

Awesome Go language INI file operation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.