Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 7b4dc44

Browse files
committed
Update docs to use column number 1 instead of 0
1 parent aa79218 commit 7b4dc44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorial/tutorial.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,10 +752,10 @@ The code snippet below creates `Col` definition, sets the width and assigns a st
752752

753753
[source,go]
754754
....
755-
// creating a column that relates to worksheet columns A thru E (index 0 to 4)
756-
newColumn := NewColForRange(0,4)
755+
// creating a column that relates to worksheet columns A thru E (index 1 to 5)
756+
newColumn := NewColForRange(1,5)
757757
newColumn.SetWidth(12.5)
758-
// we defined a style above, so let's assigm this style to all cells of the column
758+
// we defined a style above, so let's assign this style to all cells of the column
759759
newColumn.SetStyle(myStyle)
760760
// now associate the sheet with this column
761761
sh.SetColParameters(newColumn)

0 commit comments

Comments
 (0)