tour
tour copied to clipboard
tour: No example code of half open slice range
Context: https://tour.golang.org/moretypes/7
"This selects a half-open range which includes the first element, but excludes the last one."
Should there be an example below that line?
There is:
The following expression creates a slice which includes elements 1 through 3 of
a
:a[1:4]