From d80d1427a8119eed6e668caba4314140edbcb4b8 Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Fri, 7 May 2021 10:41:24 -0700 Subject: [PATCH] doc/go1.17: fill in TODO for reflect package Updates #46019 Change-Id: I3025927d949ff72535542e89b83dd830e969c255 Reviewed-on: https://go-review.googlesource.com/c/go/+/318011 Trust: Joe Tsai Reviewed-by: Dmitri Shuralyov --- doc/go1.17.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/go1.17.html b/doc/go1.17.html index 3cd324e0ab..894b8ae133 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -405,7 +405,13 @@ Do not send CLs removing the interior tags from such phrases.
reflect

- TODO: https://golang.org/cl/266197: add Method.IsExported and StructField.IsExported methods + The new + StructField.IsExported + and + Method.IsExported + methods report whether a struct field or type method is exported. + They provide a more readable alternative to checking whether PkgPath + is empty.

-- 2.48.1