This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# xlsx
excel的导出导入(目前仅完成导出)
## 导出功能
如果要使用导出,则传入的数据必须为指针,类型可以是struct或者元素为struct的slice。
通过tag来确认需要导出的字段,内容为`export:”x:1,y:1”`,注意下x,y分别表是该字段在excel表格中的起始位置x为col,y为row,且tag中的x,y在数据中需要顺序列出,优先y,其次x。
当导出的excel表格列数不确定时,tag使用`export:"loop:true"`,这样会将所有字段导出到excel表格中。
详情请看测试文件