[website] ix/website/tour: default for high bound is length of array

0 views
Skip to first unread message

JB (Gerrit)

unread,
10:28 AM (3 hours ago) 10:28 AM
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

JB has uploaded the change for review

Commit message

ix/website/tour: default for high bound is length of array

The default value for the high bound is the length of the array and not
of the slice.
Change-Id: I9fdd790f43873381b1ef3d53cbf60b72adc7ef88

Change diff

diff --git a/_content/tour/moretypes.article b/_content/tour/moretypes.article
index be118a2..8735969 100644
--- a/_content/tour/moretypes.article
+++ b/_content/tour/moretypes.article
@@ -138,7 +138,7 @@

When slicing, you may omit the high or low bounds to use their defaults instead.

-The default is zero for the low bound and the length of the slice for the high bound.
+The default is zero for the low bound and the length of the array for the high bound.

For the array

Change information

Files:
  • M _content/tour/moretypes.article
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: I9fdd790f43873381b1ef3d53cbf60b72adc7ef88
Gerrit-Change-Number: 731400
Gerrit-PatchSet: 1
Gerrit-Owner: JB <baum.j...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

JB (Gerrit)

unread,
10:29 AM (3 hours ago) 10:29 AM
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

JB uploaded new patchset

JB uploaded patch set #2 to this change.
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: I9fdd790f43873381b1ef3d53cbf60b72adc7ef88
Gerrit-Change-Number: 731400
Gerrit-PatchSet: 2
Gerrit-Owner: JB <baum.j...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Gopher Robot (Gerrit)

unread,
10:32 AM (3 hours ago) 10:32 AM
to JB, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Message from Gopher Robot

Congratulations on opening your first change. Thank you for your contribution!

Next steps:
A maintainer will review your change and provide feedback. See
https://go.dev/doc/contribute#review for more info and tips to get your
patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be
surprising to people new to the project. The careful, iterative review process
is our way of helping mentor contributors and ensuring that their contributions
have a lasting impact.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: I9fdd790f43873381b1ef3d53cbf60b72adc7ef88
Gerrit-Change-Number: 731400
Gerrit-PatchSet: 2
Gerrit-Owner: JB <baum.j...@gmail.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Comment-Date: Fri, 19 Dec 2025 15:32:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages