From f2a4ab32b1bcfae5c689c034953471a5541e9397 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 30 Jan 2020 16:53:42 -0800 Subject: [PATCH] doc/go1.14: mention new field go/build.Context.Dir Updates #34860 Updates #36168 Updates #36878 Change-Id: I484d7fea5d77d6dcd451d4fdffe0c450eed73636 Reviewed-on: https://go-review.googlesource.com/c/go/+/217124 Reviewed-by: Bryan C. Mills --- doc/go1.14.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/go1.14.html b/doc/go1.14.html index e2ac1672dbea8..7e74c7a69bd45 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -482,6 +482,18 @@

Core library

+
go/build
+
+

+ The Context + type has a new field Dir which may be used to set + the working directory for the build. + The default is the current directory of the running process. + In module mode, this is used to locate the main module. +

+
+
+
log