From 817c5c4517855314dd67fb48041c9a570538fbc2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 30 Jan 2020 17:06:31 -0800 Subject: [PATCH] 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 --- doc/go1.14.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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

-- 2.50.0