Skip to content

Commit b7d96b8

Browse files
committed
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 <[email protected]>
1 parent 07f0c19 commit b7d96b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/go1.7.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,16 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
10491049
but distinguishes the tag not containing the given key
10501050
from the tag associating an empty string with the given key.
10511051
</p>
1052+
1053+
<p>
1054+
The
1055+
<a href="/pkg/reflect/#Type.Method"><code>Method</code></a> and
1056+
<a href="/pkg/reflect/#Type.NumMethod"><code>NumMethod</code></a>
1057+
methods of
1058+
<a href="/pkg/reflect/#Type"><code>Type</code></a> and
1059+
<a href="/pkg/reflect/#Value"><code>Value</code></a>
1060+
no longer return or count unexported methods.
1061+
</p>
10521062
</dd>
10531063

10541064
<dl id="strings"><a href="/pkg/strings/">strings</a></dl>

0 commit comments

Comments
 (0)