Skip to content

Commit 6f58088

Browse files
doc/go1.17: document new go/build/BuildContext.ToolTags field
For #44513 Change-Id: Ib21af742e574fcaa7e38bb437d42dbeed9d01f0b Reviewed-on: https://go-review.googlesource.com/c/go/+/323350 Trust: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent c295107 commit 6f58088

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/go1.17.html

+11
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
413413
</dd>
414414
</dl><!-- flag -->
415415

416+
<dl id="go/build"><dt><a href="/pkg/go/build/">go/build</a></dt>
417+
<dd>
418+
<p><!-- CL 310732 -->
419+
The new
420+
<a href="/pkg/go/build/#Context.ToolTags"><code>Context.ToolTags</code></a>
421+
field holds the build tags appropriate to the current Go
422+
toolchain configuration.
423+
</p>
424+
</dd>
425+
</dl><!-- go/build -->
426+
416427
<dl id="io/fs"><dt><a href="/pkg/io/fs/">io/fs</a></dt>
417428
<dd>
418429
<p><!-- CL 293649 -->

0 commit comments

Comments
 (0)