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.
- 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.