excel:用于golang的Microsoft Excel .xlsx读写

时间:2021-03-13 04:02:06
【文件属性】:
文件名称:excel:用于golang的Microsoft Excel .xlsx读写
文件大小:50KB
文件格式:ZIP
更新时间:2021-03-13 04:02:06
XLSX Microsoft Excel .xlsx用于golang的读/写 基本用法 安装 要获取软件包,请执行: go get github.com/leaker/excel 要导入此程序包,请在代码中添加以下行: import "github.com/leaker/excel" 建立试算表 这是将创建xlsx文件的示例用法。 package main import ( "fmt" "github.com/leaker/excel" ) func main () { f := xlsx . NewFile () sheet := f . NewSheet ( "Sheet2" ) sheet . SetCellValue ( xlsx . ColumnNumber ( "A" ), 1 , "Name" ) sheet . Set
【文件预览】:
excel-main
----.gitignore(308B)
----go.mod(182B)
----vector.go(3KB)
----sheet.go(3KB)
----sheet_test.go(334B)
----packaging()
--------x_relationships.go(2KB)
--------x_workbook.go(3KB)
--------x_extended_properties_test.go(1KB)
--------x_relationships_test.go(2KB)
--------x_theme.go(16KB)
--------x_extended_properties.go(3KB)
--------x_workbook_test.go(1KB)
--------x_core_properties.go(2KB)
--------x_stylesheet.go(6KB)
--------x_worksheet_test.go(1KB)
--------x_file.go(2KB)
--------packaging_test.go(866B)
--------x_theme_test.go(8KB)
--------x_core_properties_u.go(749B)
--------x_theme_u.go(6KB)
--------x_workbook_u.go(2KB)
--------x_stylesheet_test.go(8KB)
--------x_stylesheet_u.go(4KB)
--------x_content_types.go(2KB)
--------x_core_properties_test.go(1KB)
--------x_worksheet.go(4KB)
--------x_extended_properties_u.go(1KB)
--------x_package.go(160B)
--------x_content_types_test.go(2KB)
--------x_file_test.go(433B)
----LICENSE(1KB)
----cell.go(4KB)
----go.sum(671B)
----.github()
--------workflows()
----lib.go(2KB)
----file.go(11KB)
----README.md(2KB)
----file_test.go(328B)
----date.go(538B)
----lib_test.go(705B)
----stylesheet.go(84B)
----xlsx_test.go(156B)
----deepcopy.go(578B)
----test_docs()
--------empty.xlsx(6KB)
--------two_sheet.xlsx(6KB)

网友评论