summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-09-11 00:04:04 +0800
committerxuri <xuri.me@gmail.com>2022-09-11 00:04:04 +0800
commitb6cc43d8242fd3f7f0c6163db9fcd759b9b992b1 (patch)
tree3bf1b4b6d37f006ced435931a8aad10d2e652a24 /rows.go
parentc72fb747b8a64117538229f1e5a85d220349b6f1 (diff)
This makes 6 functions concurrency safety
- These 6 functions now support concurrency safe: SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rows.go b/rows.go
index fdb9374..561f64b 100644
--- a/rows.go
+++ b/rows.go
@@ -238,7 +238,8 @@ func (rows *Rows) rowXMLHandler(rowIterator *rowXMLIterator, xmlElement *xml.Sta
}
// Rows returns a rows iterator, used for streaming reading data for a
-// worksheet with a large data. For example:
+// worksheet with a large data. This function is concurrency safe. For
+// example:
//
// rows, err := f.Rows("Sheet1")
// if err != nil {