File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import (
31
31
32
32
// File define a populated spreadsheet file struct.
33
33
type File struct {
34
- sync.RWMutex
34
+ sync.Mutex
35
35
xmlAttr map [string ][]xml.Attr
36
36
checked map [string ]bool
37
37
sheetMap map [string ]string
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func BenchmarkWrite(b *testing.B) {
19
19
if err != nil {
20
20
b .Error (err )
21
21
}
22
- if err := f .SetCellDefault ("Sheet1" , val , s ); err != nil {
22
+ if err := f .SetCellValue ("Sheet1" , val , s ); err != nil {
23
23
b .Error (err )
24
24
}
25
25
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import (
19
19
// xlsxWorksheet directly maps the worksheet element in the namespace
20
20
// http://schemas.openxmlformats.org/spreadsheetml/2006/main.
21
21
type xlsxWorksheet struct {
22
- sync.RWMutex
22
+ sync.Mutex
23
23
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main worksheet"`
24
24
SheetPr * xlsxSheetPr `xml:"sheetPr"`
25
25
Dimension * xlsxDimension `xml:"dimension"`
You can’t perform that action at this time.
0 commit comments