From: Ian Lance Taylor Date: Fri, 31 Jan 2020 01:06:31 +0000 (-0800) Subject: doc/go1.14: mention go/doc.NewFromFiles and associated new data fields X-Git-Tag: go1.14rc1~32 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=817c5c4517855314dd67fb48041c9a570538fbc2;p=gostls13.git doc/go1.14: mention go/doc.NewFromFiles and associated new data fields Updates #23864 Updates #36878 Change-Id: I6efdaafbe5207c625643f201a5931ad735941365 Reviewed-on: https://go-review.googlesource.com/c/go/+/217125 Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/go1.14.html b/doc/go1.14.html index 1f13f227b3..949b3d9383 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -482,6 +482,26 @@ TODO +
go/doc
+
+

+ The new + function NewFromFiles + computes package documentation from a list + of *ast.File's and associates examples with the + appropriate package elements. + The new information is available in a new Examples + field + in the Package, Type, + and Func types, and a + new Suffix + field in + the Example + type. +

+
+
+
mime