summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/styles.go b/styles.go
index d1ef726..ac7b4a5 100644
--- a/styles.go
+++ b/styles.go
@@ -2304,7 +2304,7 @@ func setCellXfs(style *xlsxStyleSheet, fontID, numFmtID, fillID, borderID int, a
//
// Hide and lock for cell H9 on Sheet1:
//
-// style, err := xlsx.NewStyle(`{"protection":{"hidden":true, "locked":true}`)
+// style, err := xlsx.NewStyle(`{"protection":{"hidden":true, "locked":true}}`)
// if err != nil {
// fmt.Println(err)
// }