1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:50:23 -07:00

doc: reflect {Num,}Method skips unexported methods

For #15673

Change-Id: I3ce8d4016854d41860c5a9f05a54cda3de49f337
Reviewed-on: https://go-review.googlesource.com/23430
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
David Crawshaw 2016-05-25 08:03:46 -04:00
parent 07f0c19a30
commit b7d96b8e05

View File

@ -1049,6 +1049,16 @@ is like
but distinguishes the tag not containing the given key but distinguishes the tag not containing the given key
from the tag associating an empty string with the given key. from the tag associating an empty string with the given key.
</p> </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> </dd>
<dl id="strings"><a href="/pkg/strings/">strings</a></dl> <dl id="strings"><a href="/pkg/strings/">strings</a></dl>