Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
[![Go Version](https://img.shields.io/badge/Go-1.19+-00ADD8?style=flat&logo=go)](https://golang.org)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Tests](https://img.shields.io/badge/Tests-Passing-green.svg)](#testing)
[![Benchmark](https://img.shields.io/badge/Benchmark-Go%202.62ms%20%7C%20JS%209.63ms%20%7C%20Python%2055.98ms-success.svg)](https://github.com/zerx-lab/wordZero/wiki/en-Performance-Benchmarks)
[![Performance](https://img.shields.io/badge/Performance-Golang%20Winner-brightgreen.svg)](https://github.com/zerx-lab/wordZero/wiki/en-Performance-Benchmarks)
[![Benchmark](https://img.shields.io/badge/Benchmark-Go%202.62ms%20%7C%20JS%209.63ms%20%7C%20Python%2055.98ms-success.svg)](https://github.com/hiyali/wordZero/wiki/en-Performance-Benchmarks)
[![Performance](https://img.shields.io/badge/Performance-Golang%20Winner-brightgreen.svg)](https://github.com/hiyali/wordZero/wiki/en-Performance-Benchmarks)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/zerx-lab/wordZero)

</div>
Expand Down Expand Up @@ -53,7 +53,7 @@ If you need to work with Excel documents, we highly recommend [**Excelize**](htt
```go
// WordZero + Excelize combination example
import (
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
"github.com/qax-os/excelize/v2"
)

Expand All @@ -70,7 +70,7 @@ xlsx.SetCellValue("Sheet1", "B1", "Value")
## Installation

```bash
go get github.com/zerx-lab/wordZero
go get github.com/hiyali/wordZero
```

### Version Notes
Expand All @@ -79,10 +79,10 @@ We recommend using versioned installation:

```bash
# Install latest version
go get github.com/zerx-lab/wordZero@latest
go get github.com/hiyali/wordZero@latest

# Install specific version
go get github.com/zerx-lab/wordZero@v1.6.0
go get github.com/hiyali/wordZero@v1.6.0
```

## Quick Start
Expand All @@ -92,8 +92,8 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/zerx-lab/wordZero/pkg/style"
"github.com/hiyali/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/style"
)

func main() {
Expand Down Expand Up @@ -177,7 +177,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down Expand Up @@ -250,7 +250,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/markdown"
"github.com/hiyali/wordZero/pkg/markdown"
)

func main() {
Expand Down Expand Up @@ -319,7 +319,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down Expand Up @@ -355,14 +355,14 @@ func main() {
### 📚 Complete Documentation

**Available in multiple languages**:
- **English**: [📖 Wiki Documentation](https://github.com/zerx-lab/wordZero/wiki/en-Home)
- **中文**: [📖 中文文档](https://github.com/zerx-lab/wordZero/wiki)
- **English**: [📖 Wiki Documentation](https://github.com/hiyali/wordZero/wiki/en-Home)
- **中文**: [📖 中文文档](https://github.com/hiyali/wordZero/wiki)

**Key Documentation**:
- [**🚀 Quick Start**](https://github.com/zerx-lab/wordZero/wiki/en-Quick-Start) - Beginner's guide
- [**⚡ Feature Overview**](https://github.com/zerx-lab/wordZero/wiki/en-Feature-Overview) - Detailed description of all features
- [**📊 Performance Benchmarks**](https://github.com/zerx-lab/wordZero/wiki/en-Performance-Benchmarks) - Cross-language performance comparison analysis
- [**🏗️ Project Structure**](https://github.com/zerx-lab/wordZero/wiki/en-Project-Structure) - Project architecture and code organization
- [**🚀 Quick Start**](https://github.com/hiyali/wordZero/wiki/en-Quick-Start) - Beginner's guide
- [**⚡ Feature Overview**](https://github.com/hiyali/wordZero/wiki/en-Feature-Overview) - Detailed description of all features
- [**📊 Performance Benchmarks**](https://github.com/hiyali/wordZero/wiki/en-Performance-Benchmarks) - Cross-language performance comparison analysis
- [**🏗️ Project Structure**](https://github.com/hiyali/wordZero/wiki/en-Project-Structure) - Project architecture and code organization

### 💡 Usage Examples
See example code in the `examples/` directory:
Expand Down Expand Up @@ -422,7 +422,7 @@ go run ./examples/markdown_conversion/
- Graphics drawing functionality
- Multi-language and internationalization support

👉 **View complete feature list**: [Feature Overview](https://github.com/zerx-lab/wordZero/wiki/en-Feature-Overview)
👉 **View complete feature list**: [Feature Overview](https://github.com/hiyali/wordZero/wiki/en-Feature-Overview)

## Performance

Expand All @@ -434,7 +434,7 @@ WordZero excels in performance, verified through comprehensive benchmarks:
| JavaScript | 9.63ms | 3.67× |
| Python | 55.98ms | 21.37× |

👉 **View detailed performance analysis**: [Performance Benchmarks](https://github.com/zerx-lab/wordZero/wiki/en-Performance-Benchmarks)
👉 **View detailed performance analysis**: [Performance Benchmarks](https://github.com/hiyali/wordZero/wiki/en-Performance-Benchmarks)

## Project Structure

Expand All @@ -453,7 +453,7 @@ wordZero/
└── wordZero.wiki/ # Complete documentation
```

👉 **View detailed structure description**: [Project Structure](https://github.com/zerx-lab/wordZero/wiki/en-Project-Structure)
👉 **View detailed structure description**: [Project Structure](https://github.com/hiyali/wordZero/wiki/en-Project-Structure)

### Logo and Branding

Expand Down Expand Up @@ -485,7 +485,7 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
---

**More Resources**:
- 📖 [Complete Documentation](https://github.com/zerx-lab/wordZero/wiki)
- 🔧 [API Reference](https://github.com/zerx-lab/wordZero/wiki/en-API-Reference)
- 💡 [Best Practices](https://github.com/zerx-lab/wordZero/wiki/en-Best-Practices)
- 📖 [Complete Documentation](https://github.com/hiyali/wordZero/wiki)
- 🔧 [API Reference](https://github.com/hiyali/wordZero/wiki/en-API-Reference)
- 💡 [Best Practices](https://github.com/hiyali/wordZero/wiki/en-Best-Practices)
- 📝 [Changelog](CHANGELOG.md)
46 changes: 23 additions & 23 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
[![Go Version](https://img.shields.io/badge/Go-1.19+-00ADD8?style=flat&logo=go)](https://golang.org)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Tests](https://img.shields.io/badge/Tests-Passing-green.svg)](#测试)
[![Benchmark](https://img.shields.io/badge/Benchmark-Go%202.62ms%20%7C%20JS%209.63ms%20%7C%20Python%2055.98ms-success.svg)](https://github.com/zerx-lab/wordZero/wiki/13-%E6%80%A7%E8%83%BD%E5%9F%BA%E5%87%86%E6%B5%8B%E8%AF%95)
[![Performance](https://img.shields.io/badge/Performance-Golang%20优胜-brightgreen.svg)](https://github.com/zerx-lab/wordZero/wiki/13-%E6%80%A7%E8%83%BD%E5%9F%BA%E5%87%86%E6%B5%8B%E8%AF%95)
[![Benchmark](https://img.shields.io/badge/Benchmark-Go%202.62ms%20%7C%20JS%209.63ms%20%7C%20Python%2055.98ms-success.svg)](https://github.com/hiyali/wordZero/wiki/13-%E6%80%A7%E8%83%BD%E5%9F%BA%E5%87%86%E6%B5%8B%E8%AF%95)
[![Performance](https://img.shields.io/badge/Performance-Golang%20优胜-brightgreen.svg)](https://github.com/hiyali/wordZero/wiki/13-%E6%80%A7%E8%83%BD%E5%9F%BA%E5%87%86%E6%B5%8B%E8%AF%95)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/zerx-lab/wordZero)

</div>
Expand Down Expand Up @@ -53,7 +53,7 @@ WordZero 是一个使用 Golang 实现的 Word 文档操作库,提供基础的
```go
// WordZero + Excelize 组合示例
import (
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
"github.com/xuri/excelize/v2"
)

Expand All @@ -70,7 +70,7 @@ xlsx.SetCellValue("Sheet1", "B1", "数值")
## 安装

```bash
go get github.com/zerx-lab/wordZero
go get github.com/hiyali/wordZero
```

### 版本说明
Expand All @@ -79,10 +79,10 @@ go get github.com/zerx-lab/wordZero

```bash
# 安装最新版本
go get github.com/zerx-lab/wordZero@latest
go get github.com/hiyali/wordZero@latest

# 安装指定版本
go get github.com/zerx-lab/wordZero@v1.6.0
go get github.com/hiyali/wordZero@v1.6.0
```

## 快速开始
Expand All @@ -92,8 +92,8 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/zerx-lab/wordZero/pkg/style"
"github.com/hiyali/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/style"
)

func main() {
Expand Down Expand Up @@ -177,7 +177,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down Expand Up @@ -250,7 +250,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/markdown"
"github.com/hiyali/wordZero/pkg/markdown"
)

func main() {
Expand Down Expand Up @@ -319,7 +319,7 @@ package main

import (
"log"
"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down Expand Up @@ -355,14 +355,14 @@ func main() {
### 📚 完整文档

**多语言文档支持**:
- **中文**: [📖 中文文档](https://github.com/zerx-lab/wordZero/wiki)
- **English**: [📖 Wiki Documentation](https://github.com/zerx-lab/wordZero/wiki/en-Home)
- **中文**: [📖 中文文档](https://github.com/hiyali/wordZero/wiki)
- **English**: [📖 Wiki Documentation](https://github.com/hiyali/wordZero/wiki/en-Home)

**核心文档**:
- [**🚀 快速开始**](https://github.com/zerx-lab/wordZero/wiki/01-快速开始) - 新手入门指南
- [**⚡ 功能特性详览**](https://github.com/zerx-lab/wordZero/wiki/14-功能特性详览) - 所有功能的详细说明
- [**📊 性能基准测试**](https://github.com/zerx-lab/wordZero/wiki/13-性能基准测试) - 跨语言性能对比分析
- [**🏗️ 项目结构详解**](https://github.com/zerx-lab/wordZero/wiki/15-项目结构详解) - 项目架构和代码组织
- [**🚀 快速开始**](https://github.com/hiyali/wordZero/wiki/01-快速开始) - 新手入门指南
- [**⚡ 功能特性详览**](https://github.com/hiyali/wordZero/wiki/14-功能特性详览) - 所有功能的详细说明
- [**📊 性能基准测试**](https://github.com/hiyali/wordZero/wiki/13-性能基准测试) - 跨语言性能对比分析
- [**🏗️ 项目结构详解**](https://github.com/hiyali/wordZero/wiki/15-项目结构详解) - 项目架构和代码组织

### 💡 使用示例
查看 `examples/` 目录下的示例代码:
Expand Down Expand Up @@ -426,7 +426,7 @@ go run ./examples/paragraph_format_demo/
- 图形绘制功能
- 多语言和国际化支持

👉 **查看完整功能列表**: [功能特性详览](https://github.com/zerx-lab/wordZero/wiki/14-功能特性详览)
👉 **查看完整功能列表**: [功能特性详览](https://github.com/hiyali/wordZero/wiki/14-功能特性详览)

## 性能表现

Expand All @@ -438,7 +438,7 @@ WordZero 在性能方面表现卓越,通过完整的基准测试验证:
| JavaScript | 9.63ms | 3.67× |
| Python | 55.98ms | 21.37× |

👉 **查看详细性能分析**: [性能基准测试](https://github.com/zerx-lab/wordZero/wiki/13-性能基准测试)
👉 **查看详细性能分析**: [性能基准测试](https://github.com/hiyali/wordZero/wiki/13-性能基准测试)

## 项目结构

Expand All @@ -457,7 +457,7 @@ wordZero/
└── wordZero.wiki/ # 完整文档
```

👉 **查看详细结构说明**: [项目结构详解](https://github.com/zerx-lab/wordZero/wiki/15-项目结构详解)
👉 **查看详细结构说明**: [项目结构详解](https://github.com/hiyali/wordZero/wiki/15-项目结构详解)

### Logo设计

Expand Down Expand Up @@ -489,7 +489,7 @@ wordZero/
---

**更多资源**:
- 📖 [完整文档](https://github.com/zerx-lab/wordZero/wiki)
- 🔧 [API参考](https://github.com/zerx-lab/wordZero/wiki/10-API参考)
- 💡 [最佳实践](https://github.com/zerx-lab/wordZero/wiki/09-最佳实践)
- 📖 [完整文档](https://github.com/hiyali/wordZero/wiki)
- 🔧 [API参考](https://github.com/hiyali/wordZero/wiki/10-API参考)
- 💡 [最佳实践](https://github.com/hiyali/wordZero/wiki/09-最佳实践)
- 📝 [更新日志](CHANGELOG.md)
4 changes: 2 additions & 2 deletions benchmark/golang/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"
"time"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/zerx-lab/wordZero/pkg/style"
"github.com/hiyali/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/style"
)

// 统一的测试配置,与JavaScript和Python保持一致
Expand Down
4 changes: 2 additions & 2 deletions benchmark/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ go 1.22

toolchain go1.24.10

replace github.com/zerx-lab/wordZero => ../../
replace github.com/hiyali/wordZero => ../../

require github.com/zerx-lab/wordZero v0.0.0-00010101000000-000000000000
require github.com/hiyali/wordZero v0.0.0-00010101000000-000000000000
6 changes: 3 additions & 3 deletions docs/MULTILINGUAL_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ title.SetStyle(style.StyleHeading1)

### Project Links

- **GitHub Repository**: https://github.com/zerx-lab/wordZero
- **Chinese Wiki**: https://github.com/zerx-lab/wordZero/wiki
- **English Wiki**: https://github.com/zerx-lab/wordZero/wiki/en-Home
- **GitHub Repository**: https://github.com/hiyali/wordZero
- **Chinese Wiki**: https://github.com/hiyali/wordZero/wiki
- **English Wiki**: https://github.com/hiyali/wordZero/wiki/en-Home

### Related Documentation

Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_features/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/alignment_demo/alignment_demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"path/filepath"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

// createSampleImageWithText 创建带文字的示例图片
Expand Down
8 changes: 4 additions & 4 deletions examples/basic/basic_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/zerx-lab/wordZero/pkg/style"
"github.com/hiyali/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/style"
)

func main() {
Expand Down Expand Up @@ -53,10 +53,10 @@ func main() {
codeTitle := doc.AddParagraph("代码示例")
codeTitle.SetStyle(style.StyleHeading3)

codeExample := `go get github.com/zerx-lab/wordZero
codeExample := `go get github.com/hiyali/wordZero

// 使用示例
import "github.com/zerx-lab/wordZero/pkg/document"
import "github.com/hiyali/wordZero/pkg/document"

doc := document.New()
doc.AddParagraph("Hello, WordZero!")
Expand Down
2 changes: 1 addition & 1 deletion examples/cell_advanced/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/cell_iterator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"path/filepath"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/complex_table_demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"log"
"os"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/enhanced_template_demo/enhanced_template_demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"time"

"github.com/zerx-lab/wordZero/pkg/document"
"github.com/hiyali/wordZero/pkg/document"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/floating_images_demo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module floating_images_demo

go 1.24.10

replace github.com/zerx-lab/wordZero => ../..
replace github.com/hiyali/wordZero => ../..

require github.com/zerx-lab/wordZero v1.4.0
require github.com/hiyali/wordZero v1.4.0
Loading