ini:软件包ini在Go中提供了INI文件读取和写入功能-源码

上传者: 42106299 | 上传时间: 2021-02-02 16:35:56 | 文件大小: 65KB | 文件类型: ZIP
尼尼 软件包ini在Go中提供了INI文件读取和写入功能。 产品特点 从多个数据源(文件, []byte , io.Reader和io.ReadCloser )进行覆盖io.ReadCloser 。 读取递归值。 阅读带有父子部分的内容。 使用自动增量键名称进行读取。 用多行值读取。 阅读大量的助手方法。 读取值并将其转换为Go类型。 阅读并编写部分和键的注释。 轻松操作各节,按键和注释。 在解析和保存时,使节和键保持顺序。 安装 Go的最低要求为1.6 。 $ go get gopkg.in/ini.v1 请添加-u标志以供将来更新。 获得帮助 中国大陆所有人: ://ini.unknwon.cn 执照 该项目受Apache v2许可。 有关完整的许可证文本,请参阅文件。

文件下载

资源详情

[{"title":"( 36 个子文件 65KB ) ini:软件包ini在Go中提供了INI文件读取和写入功能-源码","children":[{"title":"ini-master","children":[{"title":"testdata","children":[{"title":"UTF-8-BOM.ini <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"full.ini <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"UTF-16-BE-BOM.ini <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"UTF-16-LE-BOM.ini <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"multiline.ini <span style='color:#111;'> 8.73KB </span>","children":null,"spread":false},{"title":"minimal.ini <span style='color:#111;'> 27B </span>","children":null,"spread":false},{"title":"TestFile_WriteTo.golden <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"key_test.go <span style='color:#111;'> 17.70KB </span>","children":null,"spread":false},{"title":"section_test.go <span style='color:#111;'> 7.94KB </span>","children":null,"spread":false},{"title":"deprecated.go <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"data_source.go <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"parser.go <span style='color:#111;'> 13.30KB </span>","children":null,"spread":false},{"title":"section.go <span style='color:#111;'> 5.90KB </span>","children":null,"spread":false},{"title":"error.go <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"ini_test.go <span style='color:#111;'> 35.99KB </span>","children":null,"spread":false},{"title":"bench_test.go <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"helper_test.go <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"struct.go <span style='color:#111;'> 20.70KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 87B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":false},{"title":"workflows","children":[{"title":"go.yml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"lsif.yml <span style='color:#111;'> 455B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"parser_test.go <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"key.go <span style='color:#111;'> 23.60KB </span>","children":null,"spread":false},{"title":"ini.go <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 10.01KB </span>","children":null,"spread":false},{"title":"helper.go <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":"codecov.yml <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":"struct_test.go <span style='color:#111;'> 22.65KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"file_test.go <span style='color:#111;'> 12.88KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"ini_python_multiline_test.go <span style='color:#111;'> 9.64KB </span>","children":null,"spread":false},{"title":"file.go <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明