update readme

This commit is contained in:
zero
2025-06-06 16:01:35 +08:00
parent 6e28fef1b7
commit e73c8f6480
2 changed files with 62 additions and 0 deletions

View File

@@ -35,6 +35,37 @@ WordZero is a Golang-based Word document manipulation library that provides basi
-**Excellent Performance**: Zero-dependency pure Go implementation, average 2.62ms processing speed, 3.7x faster than JavaScript, 21x faster than Python
- 🔧 **Easy to Use**: Clean API design with fluent interface support
## Related Recommended Projects
### Excel Document Operations - Excelize
If you need to work with Excel documents, we highly recommend [**Excelize**](https://github.com/qax-os/excelize) —— the most popular Go library for Excel operations:
-**19.2k+ GitHub Stars** - The most popular Excel processing library in the Go ecosystem
- 📊 **Complete Excel Support** - Supports all modern Excel formats including XLAM/XLSM/XLSX/XLTM/XLTX
- 🎯 **Feature Rich** - Charts, pivot tables, images, streaming APIs, and more
- 🚀 **High Performance** - Streaming read/write APIs optimized for large datasets
- 🔧 **Easy Integration** - Perfect complement to WordZero for complete Office document processing solutions
**Perfect Combination**: WordZero handles Word documents, Excelize handles Excel documents, together providing comprehensive Office document manipulation capabilities for your Go projects.
```go
// WordZero + Excelize combination example
import (
"github.com/ZeroHawkeye/wordZero/pkg/document"
"github.com/qax-os/excelize/v2"
)
// Create Word report
doc := document.New()
doc.AddParagraph("Data Analysis Report").SetStyle(style.StyleHeading1)
// Create Excel data sheet
xlsx := excelize.NewFile()
xlsx.SetCellValue("Sheet1", "A1", "Data Item")
xlsx.SetCellValue("Sheet1", "B1", "Value")
```
## Installation
```bash

View File

@@ -35,6 +35,37 @@ WordZero 是一个使用 Golang 实现的 Word 文档操作库,提供基础的
-**卓越性能**: 零依赖的纯Go实现平均2.62ms处理速度比JavaScript快3.7倍比Python快21倍
- 🔧 **易于使用**: 简洁的API设计链式调用支持
## 相关推荐项目
### Excel文档操作推荐 - Excelize
如果您需要处理Excel文档我们强烈推荐使用 [**Excelize**](https://github.com/qax-os/excelize) —— 最受欢迎的Go语言Excel操作库
-**GitHub 19.2k+ 星标** - Go生态系统中最受欢迎的Excel处理库
- 📊 **完整Excel支持** - 支持XLAM/XLSM/XLSX/XLTM/XLTX等所有现代Excel格式
- 🎯 **功能丰富** - 图表、数据透视表、图片、流式API等完整功能
- 🚀 **高性能** - 专为大数据集处理优化的流式读写API
- 🔧 **易于集成** - 与WordZero完美互补构建完整的Office文档处理解决方案
**完美搭配**: WordZero负责Word文档处理Excelize负责Excel文档处理共同为您的Go项目提供完整的Office文档操作能力。
```go
// WordZero + Excelize 组合示例
import (
"github.com/ZeroHawkeye/wordZero/pkg/document"
"github.com/xuri/excelize/v2"
)
// 创建Word报告
doc := document.New()
doc.AddParagraph("数据分析报告").SetStyle(style.StyleHeading1)
// 创建Excel数据表
xlsx := excelize.NewFile()
xlsx.SetCellValue("Sheet1", "A1", "数据项")
xlsx.SetCellValue("Sheet1", "B1", "数值")
```
## 安装
```bash