1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-11 02:50:27 +08:00

优化table attr

This commit is contained in:
源文雨
2023-02-26 13:48:52 +08:00
parent 3193f4d8e5
commit 592c7b5d13
2 changed files with 17 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ import (
//
// 1. Document
// 2. Relationships
// 3. Media
//
// Then it stores all other files into tmpfslist for packing.
func unpack(zipReader *zip.Reader) (docx *Docx, err error) {
docx = new(Docx)
docx.mediaNameIdx = make(map[string]int, 64)