From 29f9252626787a67d51f5ecaae160e1431ddeacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=81=87=E6=96=87?= Date: Mon, 17 Apr 2023 16:03:47 +0800 Subject: [PATCH] fix README.md --- README.md | 25 ++++++++++++++++++--- test/has_data_has_style_has_pull_down.xlsx | Bin 0 -> 8901 bytes 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 test/has_data_has_style_has_pull_down.xlsx diff --git a/README.md b/README.md index 8bfa0dd..53706a1 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,26 @@ Excelizex目标就是在使用golang导入excel时,使开发者调用更加方 鉴于时间和精力以及个人能力,目前只提供了 [提示信息行 - 表头行 - 数据行] excel模板, 非常希望大家能够提出改进建议或者是直接提交代码。 +[现状及目前计划](#目前计划或者已提供的功能有) + +[说明](#使用说明) + +[开始生成你的excel](#开始生成你的excel) + +[为Header和notice增加样式选项](#为Header和notice增加样式选项) + +[添加某一列的下拉选项](#添加某一列的下拉选项) + +[Excel数据读取业务支持](#Excel数据读取业务支持) + +[字段转换器](#字段转换器) + +[字段验证器](#字段验证器) + + **** -目前计划或者已提供的功能有 + +### 目前计划或者已提供的功能有 读取方面: @@ -41,7 +59,7 @@ Excelizex目标就是在使用golang导入excel时,使开发者调用更加方 // 使用说明正在施工中... -#### 使用说明: +### 使用说明: 众所周知,一个excel文件由多个sheet来组成,所以符合直觉的是,不管是qax-os/excelize,还是excelizex也都是这也做的。 @@ -49,7 +67,7 @@ Excelizex目标就是在使用golang导入excel时,使开发者调用更加方 style ,validate 无论是设置表头、提示的样式还是数据。当然一旦这样做,sheet也就仅内置好了三种类型,notice-抬头提示 header-表头 以及data-数据行 -### 但至少目前需要特别注意的是: +### 需要特别注意的是: 由于目前excelizex是基于qax-os/excelize做的,so @@ -261,4 +279,5 @@ ee := any.(*Test) } ``` +// 未完待续 diff --git a/test/has_data_has_style_has_pull_down.xlsx b/test/has_data_has_style_has_pull_down.xlsx new file mode 100644 index 0000000000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