From: Ian Lance Taylor Date: Fri, 31 Jan 2020 00:53:42 +0000 (-0800) Subject: doc/go1.14: mention new field go/build.Context.Dir X-Git-Tag: go1.14rc1~22 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f2a4ab32b1bcfae5c689c034953471a5541e9397;p=gostls13.git 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 --- diff --git a/doc/go1.14.html b/doc/go1.14.html index e2ac1672db..7e74c7a69b 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -482,6 +482,18 @@ TODO +
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