diff --git a/doc/go1.16.html b/doc/go1.16.html index 9c4910053c..0330ec6b24 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -693,6 +693,37 @@ func TestFoo(t *testing.T) { +
go/build
+
+

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

+
+
+
html/template