From b7fece51736977e7d84aca30ecce7f6b3a1251f2 Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 6 Jul 2021 00:31:04 +0800 Subject: Support concurrency add picture --- xmlWorkbook.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xmlWorkbook.go') diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 7151c6f..0e8839b 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -11,10 +11,14 @@ package excelize -import "encoding/xml" +import ( + "encoding/xml" + "sync" +) // xlsxRelationships describe references from parts to other internal resources in the package or to external resources. type xlsxRelationships struct { + sync.Mutex XMLName xml.Name `xml:"http://schemas.openxmlformats.org/package/2006/relationships Relationships"` Relationships []xlsxRelationship `xml:"Relationship"` } -- cgit v1.2.1