diff --git a/doc/go1.16.html b/doc/go1.16.html index 9c4910053c3fa..0330ec6b245f5 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -693,6 +693,37 @@
+ The Package
+ struct has new fields that report information
+ about //go:embed
directives in the package:
+ EmbedPatterns
,
+ EmbedPatternPos
,
+ TestEmbedPatterns
,
+ TestEmbedPatternPos
,
+ XTestEmbedPatterns
,
+ XTestEmbedPatternPos
.
+
+ The Package
field
+ IgnoredGoFiles
+ will no longer include files that start with "_" or ".",
+ as those files are always ignored.
+ IgnoredGoFiles
is for files ignored because of
+ build constraints.
+
+ The new Package
+ field IgnoredOtherFiles
+ has a list of non-Go files ignored because of build constraints.
+