diff options
author | xuri <xuri.me@gmail.com> | 2022-05-18 23:15:24 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-05-18 23:15:24 +0800 |
commit | 8f16a76781fb8f47094492c38a02c2cdc4ce5013 (patch) | |
tree | 12a9933300ba1f196120e530091e4464e1a6bc35 /cell.go | |
parent | be5a4033c0c7de6247c02dc3ab76b634ac19d4c6 (diff) |
This fixes a part of staticcheck issues and updates the code of conduct
Update example for set cell hyperlinks with `HyperlinkOpts`
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -686,8 +686,12 @@ type HyperlinkOpts struct { // the other functions such as `SetCellStyle` or `SetSheetRow`. The below is // example for external link. // +// display, tooltip := "https://github.com/xuri/excelize", "Excelize on GitHub" // if err := f.SetCellHyperLink("Sheet1", "A3", -// "https://github.com/xuri/excelize", "External"); err != nil { +// "https://github.com/xuri/excelize", "External", excelize.HyperlinkOpts{ +// Display: &display, +// Tooltip: &tooltip, +// }); err != nil { // fmt.Println(err) // } // // Set underline and font color style for the cell. |