From b6cc43d8242fd3f7f0c6163db9fcd759b9b992b1 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 11 Sep 2022 00:04:04 +0800 Subject: This makes 6 functions concurrency safety - These 6 functions now support concurrency safe: SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle --- picture.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'picture.go') 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 { -- cgit v1.2.1