炉排:Go本机表格数据提取程序包。 当前支持.xls,.xlsx,.csv,.tsv格式-源码

上传者: 42129113 | 上传时间: 2021-03-04 15:07:22 | 文件大小: 85KB | 文件类型: ZIP
炉排 Go本机表格数据提取包。 目前支持.xls , .xlsx , .csv和.tsv格式。 为什么? Grate首先关注速度和稳定性,并且不尝试解析可能嵌入在输入文件中的图表,图形或其他内容类型。 它会尝试执行尽可能少的分配,并且在谨慎方面会犯错误。 当然,仍然存在一些错误和极端情况,但是我们已经成功地在一组400k .xls和.xlsx文件上运行了它,以捕获许多错误和错误情况。 请提出任何反馈意见和其他问题文件的问题。 用法 Grate为所有受支持的文件类型提供了一个简单的标准界面,从而可以访问电子表格中的命名工作表和纯文本格式的单个表。 package main import ( "fmt" "os" "strings" "github.com/pbnjay/grate" _ "github.com/pbnjay/grate/simpl

文件下载

资源详情

[{"title":"( 48 个子文件 85KB ) 炉排:Go本机表格数据提取程序包。 当前支持.xls,.xlsx,.csv,.tsv格式-源码","children":[{"title":"grate-main","children":[{"title":"go.mod <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"testdata","children":[{"title":"multi_test.xlsx <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"basic.xls <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"basic2.xlsx <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"basic.tsv <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"multi_test.tsv <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"basic.xlsx <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"basic2.xls <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"basic2.tsv <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"multi_test.xls <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"simple","children":[{"title":"csv.go <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"simple.go <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"tsv.go <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"errs.go <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"xlsx","children":[{"title":"sheets.go <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"xlsx.go <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"workbook.go <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"simple_test.go <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"comp_test.go <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"types.go <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"grate.go <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"commonxl","children":[{"title":"numbers.go <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"fmt_test.go <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"frac_test.go <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"sheet.go <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"fmt.go <span style='color:#111;'> 6.67KB </span>","children":null,"spread":false},{"title":"cell.go <span style='color:#111;'> 5.81KB </span>","children":null,"spread":false},{"title":"formats.go <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"dates.go <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"cmd","children":[{"title":"grater","children":[{"title":"main.go <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"grate2tsv","children":[{"title":"main.go <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"xls","children":[{"title":"sheets.go <span style='color:#111;'> 12.61KB </span>","children":null,"spread":false},{"title":"simple_test.go <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"comp_test.go <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"crypto","children":[{"title":"crypto.go <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"rc4.go <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"strings.go <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"records.go <span style='color:#111;'> 39.99KB </span>","children":null,"spread":false},{"title":"xls.go <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false},{"title":"hyperlinks.go <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"cfb","children":[{"title":"slicereader.go <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"cfb.go <span style='color:#111;'> 11.76KB </span>","children":null,"spread":false},{"title":"simple_test.go <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"interface.go <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"structs.go <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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