]> Cypherpunks repositories - gostls13.git/commitdiff
doc: reflect {Num,}Method skips unexported methods
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 25 May 2016 12:03:46 +0000 (08:03 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 25 May 2016 18:17:22 +0000 (18:17 +0000)
For #15673

Change-Id: I3ce8d4016854d41860c5a9f05a54cda3de49f337
Reviewed-on: https://go-review.googlesource.com/23430
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.7.html

index 74607d7ca5f606f502d84bc292944d28d75a7d40..db249dd0531124a1ecfc38771f4e06abcaede4b9 100644 (file)
@@ -1049,6 +1049,16 @@ is like
 but distinguishes the tag not containing the given key
 from the tag associating an empty string with the given key.
 </p>
+
+<p>
+The
+<a href="/pkg/reflect/#Type.Method"><code>Method</code></a> and
+<a href="/pkg/reflect/#Type.NumMethod"><code>NumMethod</code></a>
+methods of
+<a href="/pkg/reflect/#Type"><code>Type</code></a> and
+<a href="/pkg/reflect/#Value"><code>Value</code></a>
+no longer return or count unexported methods.
+</p>
 </dd>
 
 <dl id="strings"><a href="/pkg/strings/">strings</a></dl>