summaryrefslogtreecommitdiff
path: root/picture.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 /picture.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 'picture.go')
-rw-r--r--picture.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/picture.go b/picture.go
index 07d18cc..30a255d 100644
--- a/picture.go
+++ b/picture.go
@@ -39,7 +39,7 @@ func parseFormatPictureSet(formatSet string) (*formatPicture, error) {
// AddPicture provides the method to add picture in a sheet by given picture
// format set (such as offset, scale, aspect ratio setting and print settings)
-// and file path. For example:
+// and file path. This function is concurrency safe. For example:
//
// package main
//
@@ -469,7 +469,7 @@ func (f *File) getSheetRelationshipsTargetByID(sheet, rID string) string {
// GetPicture provides a function to get picture base name and raw content
// embed in spreadsheet by given worksheet and cell name. This function
// returns the file name in spreadsheet and file contents as []byte data
-// types. For example:
+// types. This function is concurrency safe. For example:
//
// f, err := excelize.OpenFile("Book1.xlsx")
// if err != nil {