summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-08-16 03:48:11 +0000
committerxuri <xuri.me@gmail.com>2020-08-16 03:48:11 +0000
commit4e4baac3bc1cd11026a35fb59b6a0d7903a44070 (patch)
tree0ae22916da589c80bcd16e834909e861354290bc /excelize.go
parentbc704c854f270f5b53eaa6980c76950ad86410c7 (diff)
using Mutex lock and update benchmark
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize.go b/excelize.go
index bfb3aba..75b0c13 100644
--- a/excelize.go
+++ b/excelize.go
@@ -31,7 +31,7 @@ import (
// File define a populated spreadsheet file struct.
type File struct {
- sync.RWMutex
+ sync.Mutex
xmlAttr map[string][]xml.Attr
checked map[string]bool
sheetMap map[string]string