Commit b7d96b8e authored by David Crawshaw's avatar David Crawshaw

doc: reflect {Num,}Method skips unexported methods

For #15673

Change-Id: I3ce8d4016854d41860c5a9f05a54cda3de49f337
Reviewed-on: https://go-review.googlesource.com/23430Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 07f0c19a
...@@ -1049,6 +1049,16 @@ is like ...@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment