diff options
author | xuri <xuri.me@gmail.com> | 2022-09-11 00:04:04 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-09-11 00:04:04 +0800 |
commit | b6cc43d8242fd3f7f0c6163db9fcd759b9b992b1 (patch) | |
tree | 3bf1b4b6d37f006ced435931a8aad10d2e652a24 /picture.go | |
parent | c72fb747b8a64117538229f1e5a85d220349b6f1 (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.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |