]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.2.html: add go/ast.SliceExpr.Slice3
authorRob Pike <r@golang.org>
Wed, 25 Sep 2013 06:17:54 +0000 (16:17 +1000)
committerRob Pike <r@golang.org>
Wed, 25 Sep 2013 06:17:54 +0000 (16:17 +1000)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13877044

doc/go1.2.html

index 29e42bb12b099067916fcbf580b1e65e2d93e1ec..2fa80c72b60df384eca190f244f15d4a70372107 100644 (file)
@@ -735,6 +735,14 @@ The package also now exports the <a href="/pkg/flag/#CommandLine"><code>CommandL
 flag set, which holds the flags from the command line.
 </li>
 
+<li>
+The <a href="/pkg/go/ast/"><code>go/ast</code></a> package's
+<a href="/pkg/go/ast/#SliceExpr"><code>SliceExpr</code></a> struct
+has a new boolean field, <code>Slice3</code>, which is set to true
+when representing a slice expression with three indices (two colons).
+The default is false, representing the usual two-index form.
+</li>
+
 <li>
 The <a href="/pkg/go/build/"><code>go/build</code></a> package adds
 the <a href="/pkg/go/build/#Package.AllTags"><code>AllTags</code></a> field