excel的导出导入
Go to file
lj-wsdj 58753da6f9 fix 2024-05-17 13:32:52 +08:00
export fix 2024-05-17 13:32:52 +08:00
README.md fix 2024-05-16 16:53:29 +08:00
export1_test.go fix 2024-05-16 16:53:29 +08:00
export2_test.go fix 2024-05-16 16:53:29 +08:00
export3_test.go fix 2024-05-16 16:53:29 +08:00
export4_test.go fix 2024-05-16 16:53:29 +08:00
go.mod first 2024-05-15 15:09:48 +08:00
go.sum first 2024-05-15 15:09:48 +08:00
test.xlsx fix 2024-05-16 16:53:29 +08:00
test2.xlsx fix 2024-05-16 16:53:29 +08:00
test3.xlsx fix 2024-05-16 16:53:29 +08:00
test4.xlsx fix 2024-05-16 16:53:29 +08:00

README.md

xlsx

excel的导出导入目前仅完成导出

导出功能

如果要使用导出则传入的数据必须为指针类型可以是struct或者元素为struct的slice。

通过tag来确认需要导出的字段内容为export:”x:1,y:1”注意下x,y分别表是该字段在excel表格中的起始位置x为coly为row且tag中的x在数据中需要顺序列出。

详情请看测试文件